git.videolan.org
/
ffmpeg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
avformat/asfenc: dont allow non interleaved packets
[ffmpeg.git]
/
libavformat
/
asfenc.c
diff --git
a/libavformat/asfenc.c
b/libavformat/asfenc.c
index
89202fd
..
6ed4c0b
100644
(file)
--- 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);