declare ff_interleave_add_packet

Originally committed as revision 17032 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Baptiste Coudurier 2009-02-07 21:13:40 +00:00
parent 432f1f11ea
commit 88b2027e9a
1 changed files with 10 additions and 0 deletions

View File

@ -1079,6 +1079,16 @@ int av_interleaved_write_frame(AVFormatContext *s, AVPacket *pkt);
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.