mirror of
https://github.com/encounter/rust-ffmpeg.git
synced 2026-07-10 21:18:39 -07:00
avocdec/codec: make the destruct field nullable
This commit is contained in:
@@ -660,7 +660,7 @@ pub struct AVPacket {
|
||||
pub side_data: *mut AVPacketSideData,
|
||||
pub side_data_elems: c_int,
|
||||
pub duration: c_int,
|
||||
pub destruct: extern fn(*mut AVPacket), // XXX: #if FF_API_DESTRUCT_PACKET
|
||||
pub destruct: Option<extern fn(*mut AVPacket)>, // XXX: #if FF_API_DESTRUCT_PACKET
|
||||
pub private: *mut c_void, // XXX: #if FF_API_DESTRUCT_PACKET
|
||||
pub pos: int64_t,
|
||||
pub convergence_duration: int64_t,
|
||||
|
||||
Reference in New Issue
Block a user