pub unsafe extern "C" fn ff_write_chained(
dst: *mut AVFormatContext,
dst_stream: c_int,
pkt: *mut AVPacket,
src: *mut AVFormatContext,
interleave: c_int,
) -> c_int
Expand description
Write a packet to another muxer than the one the user originally intended. Useful when chaining muxers, where one muxer internally writes a received packet to another muxer.
@param dst the muxer to write the packet to @param dst_stream the stream index within dst to write the packet to @param pkt the packet to be written @param src the muxer the packet originally was intended for @param interleave 0->use av_write_frame, 1->av_interleaved_write_frame @return the value av_write_frame returned