mirror of
https://github.com/encounter/rust-ffmpeg-zmwangx.git
synced 2026-07-10 21:18:40 -07:00
codec/packet: make it Sync
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user