export av_interleave_packet_per_dts
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>
Fri, 11 Aug 2006 21:21:51 +0000 (21:21 +0000)
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>
Fri, 11 Aug 2006 21:21:51 +0000 (21:21 +0000)
Originally committed as revision 5984 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/avformat.h
libavformat/utils.c

index a71f981..3645faf 100644 (file)
@@ -480,6 +480,7 @@ int av_set_parameters(AVFormatContext *s, AVFormatParameters *ap);
 int av_write_header(AVFormatContext *s);
 int av_write_frame(AVFormatContext *s, AVPacket *pkt);
 int av_interleaved_write_frame(AVFormatContext *s, AVPacket *pkt);
+int av_interleave_packet_per_dts(AVFormatContext *s, AVPacket *out, AVPacket *pkt, int flush);
 
 int av_write_trailer(AVFormatContext *s);
 
index 5e00bb3..001c812 100644 (file)
@@ -2418,7 +2418,7 @@ int av_write_frame(AVFormatContext *s, AVPacket *pkt)
  * packets with pkt->destruct == av_destruct_packet will be freed inside this function.
  * so they cannot be used after it, note calling av_free_packet() on them is still safe
  */
-static int av_interleave_packet_per_dts(AVFormatContext *s, AVPacket *out, AVPacket *pkt, int flush){
+int av_interleave_packet_per_dts(AVFormatContext *s, AVPacket *out, AVPacket *pkt, int flush){
     AVPacketList *pktl, **next_point, *this_pktl;
     int stream_count=0;
     int streams[MAX_STREAMS];