codec/packet: make it Sync

This commit is contained in:
meh 2015-09-29 01:11:36 +02:00
parent a544f0827c
commit 5883148188

View File

@ -15,6 +15,7 @@ use ::{Error, Rational, format};
pub struct Packet(AVPacket);
unsafe impl Send for Packet { }
unsafe impl Sync for Packet { }
impl Packet {
pub unsafe fn as_ptr(&self) -> *const AVPacket {