Mercurial > libavformat.hg
diff avformat.h @ 4394:830c5cc205b8 libavformat
declare ff_interleave_add_packet
| author | bcoudurier |
|---|---|
| date | Sat, 07 Feb 2009 21:13:40 +0000 |
| parents | ecc817a37849 |
| children | 61319d92bc36 |
line wrap: on
line diff
--- 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. *
