Interleaves a AVPacket correctly so it can be muxed.
|out ||the interleaved packet will be output here |
|in ||the input packet |
|flush ||1 if no further packets are available as input and all remaining packets should be output |
- 1 if a packet was output, 0 if no packet could be output, < 0 if an error occured
Definition at line 2488 of file utils.c.
Referenced by av_interleaved_write_frame(), and av_write_trailer().
return s->oformat->interleave_packet(s, out, in, flush);
return av_interleave_packet_per_dts(s, out, in, flush);