Function ffmpeg_sys_next::av_dup_packet
source · pub unsafe extern "C" fn av_dup_packet(pkt: *mut AVPacket) -> c_int
Expand description
@warning This is a hack - the packet memory allocation stuff is broken. The packet is allocated if it was not really allocated.
@deprecated Use av_packet_ref or av_packet_make_refcounted