# HG changeset patch # User bcoudurier # Date 1234041220 0 # Node ID 830c5cc205b8f5d31b2f57c8eb043e16600af670 # Parent 87a8965800050173a80cc2cecdfb7a8ee6c46089 declare ff_interleave_add_packet diff -r 87a896580005 -r 830c5cc205b8 avformat.h --- a/avformat.h Sat Feb 07 02:13:23 2009 +0000 +++ b/avformat.h Sat Feb 07 21:13:40 2009 +0000 @@ -1080,6 +1080,16 @@ AVPacket *pkt, int flush); /** + * Add packet to AVFormatContext->packet_buffer list, determining its + * interleaved position using compare() function argument. + * + * This function is not part of the public API and should only be called + * by muxers using their own interleave function. + */ +void ff_interleave_add_packet(AVFormatContext *s, AVPacket *pkt, + int (*compare)(AVFormatContext *, AVPacket *, AVPacket *)); + +/** * @brief Write the stream trailer to an output media file and * free the file private data. *