aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/asfenc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-04-21 02:39:00 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-04-21 02:49:05 +0200
commit369cdf917aaa5d7fbc61d57f87e638772e806716 (patch)
treec279227ec4b2747ee7fddf0945c001db893f34f0 /libavformat/asfenc.c
parent5b19fc7aae986d6fa3d689f581b37e4bfba4f2d0 (diff)
downloadffmpeg-369cdf917aaa5d7fbc61d57f87e638772e806716.tar.gz
avformat/asfenc: dont allow non interleaved packets
The muxer does not support this currently Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/asfenc.c')
-rw-r--r--libavformat/asfenc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/asfenc.c b/libavformat/asfenc.c
index 89202fdd3c..6ed4c0bf56 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);