Commit 369cdf91 authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/asfenc: dont allow non interleaved packets

The muxer does not support this currently
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 5b19fc7a
...@@ -647,6 +647,7 @@ static int asf_write_header(AVFormatContext *s) ...@@ -647,6 +647,7 @@ static int asf_write_header(AVFormatContext *s)
ASFContext *asf = s->priv_data; ASFContext *asf = s->priv_data;
s->packet_size = PACKET_SIZE; s->packet_size = PACKET_SIZE;
s->max_interleave_delta = 0;
asf->nb_packets = 0; asf->nb_packets = 0;
asf->index_ptr = av_malloc(sizeof(ASFIndex) * ASF_INDEX_BLOCK); asf->index_ptr = av_malloc(sizeof(ASFIndex) * ASF_INDEX_BLOCK);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment