changeset 1251:d06e5cb7fb52 libavformat

export av_interleave_packet_per_dts
author bcoudurier
date Fri, 11 Aug 2006 21:21:51 +0000
parents 0492aa3dffc9
children 613adcd70d18
files avformat.h utils.c
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/avformat.h	Fri Aug 11 09:27:40 2006 +0000
+++ b/avformat.h	Fri Aug 11 21:21:51 2006 +0000
@@ -480,6 +480,7 @@
 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);
 
--- a/utils.c	Fri Aug 11 09:27:40 2006 +0000
+++ b/utils.c	Fri Aug 11 21:21:51 2006 +0000
@@ -2418,7 +2418,7 @@
  * 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];