[FFmpeg-cvslog] avformat/asfenc: dont allow non interleaved packets
Michael Niedermayer
git at videolan.org
Mon Apr 21 02:56:24 CEST 2014
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Apr 21 02:39:00 2014 +0200| [369cdf917aaa5d7fbc61d57f87e638772e806716] | committer: Michael Niedermayer
avformat/asfenc: dont allow non interleaved packets
The muxer does not support this currently
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=369cdf917aaa5d7fbc61d57f87e638772e806716
---
libavformat/asfenc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavformat/asfenc.c b/libavformat/asfenc.c
index 89202fd..6ed4c0b 100644
--- a/libavformat/asfenc.c
+++ b/libavformat/asfenc.c
@@ -647,6 +647,7 @@ static int asf_write_header(AVFormatContext *s)
ASFContext *asf = s->priv_data;
s->packet_size = PACKET_SIZE;
+ s->max_interleave_delta = 0;
asf->nb_packets = 0;
asf->index_ptr = av_malloc(sizeof(ASFIndex) * ASF_INDEX_BLOCK);
More information about the ffmpeg-cvslog
mailing list