[][src]Function ffmpeg_dev::sys::ff_interleave_add_packet

pub unsafe extern "C" fn ff_interleave_add_packet(
    s: *mut AVFormatContext,
    pkt: *mut AVPacket,
    compare: Option<unsafe extern "C" fn(arg1: *mut AVFormatContext, arg2: *mut AVPacket, arg3: *mut AVPacket) -> c_int>
) -> c_int

Add packet to AVFormatContext->packet_buffer list, determining its interleaved position using compare() function argument. @return 0, or < 0 on error