diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2009-02-07 21:13:40 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2009-02-07 21:13:40 +0000 |
commit | 88b2027e9a2c3e705c439d8e9669dba5e830f2cb (patch) | |
tree | 91713fef396453e37ab812b95896fde5ff41afe6 | |
parent | 432f1f11ea7f95b1c1f1adb546151f09c1d7a932 (diff) | |
download | ffmpeg-88b2027e9a2c3e705c439d8e9669dba5e830f2cb.tar.gz |
declare ff_interleave_add_packet
Originally committed as revision 17032 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/avformat.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index be1ec1c24a..77745ba813 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -1080,6 +1080,16 @@ int av_interleave_packet_per_dts(AVFormatContext *s, AVPacket *out, 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. * |