codec/packet: make it Sync
This commit is contained in:
parent
a544f0827c
commit
5883148188
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user