[Ffmpeg-cvslog] r5984 - in trunk/libavformat: avformat.h utils.c
bcoudurier
subversion
Fri Aug 11 23:21:51 CEST 2006
Author: bcoudurier
Date: Fri Aug 11 23:21:51 2006
New Revision: 5984
Modified:
trunk/libavformat/avformat.h
trunk/libavformat/utils.c
Log:
export av_interleave_packet_per_dts
Modified: trunk/libavformat/avformat.h
==============================================================================
--- trunk/libavformat/avformat.h (original)
+++ trunk/libavformat/avformat.h Fri Aug 11 23:21:51 2006
@@ -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);
Modified: trunk/libavformat/utils.c
==============================================================================
--- trunk/libavformat/utils.c (original)
+++ trunk/libavformat/utils.c Fri Aug 11 23:21:51 2006
@@ -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];
More information about the ffmpeg-cvslog
mailing list