pub unsafe extern "C" fn ff_interleave_packet_per_dts(
s: *mut AVFormatContext,
out: *mut AVPacket,
pkt: *mut AVPacket,
flush: c_int,
) -> c_intExpand description
Interleave a packet per dts in an output media file.
Packets with pkt->destruct == av_destruct_packet will be freed inside this function, so they cannot be used after it. Note that calling av_packet_unref() on them is still safe.
@param s media file handle @param out the interleaved packet will be output here @param pkt the input packet @param flush 1 if no further packets are available as input and all remaining packets should be output @return 1 if a packet was output, 0 if no packet could be output, < 0 if an error occurred