avformat/asfenc: dont allow non interleaved packets
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 21 Apr 2014 00:39:00 +0000 (02:39 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 21 Apr 2014 00:49:05 +0000 (02:49 +0200)
The muxer does not support this currently

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/asfenc.c

index 89202fd..6ed4c0b 100644 (file)
@@ -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);