summaryrefslogtreecommitdiff
path: root/libavformat/webm_chunk.c
diff options
context:
space:
mode:
authorVignesh Venkatasubramanian <vigneshv@google.com>2015-06-09 10:02:56 -0700
committerMichael Niedermayer <michaelni@gmx.at>2015-06-09 21:19:57 +0200
commit34ae98a771891611c6e98c6fc2652868529901bd (patch)
treed61c389ce15f10b99d80230bb67c798c6d0b2192 /libavformat/webm_chunk.c
parent0916938a8dfac27096ed9f6873d32e24fa5f87c9 (diff)
downloadffmpeg-34ae98a771891611c6e98c6fc2652868529901bd.tar.gz
lavf/webm_chunk: Remove AVFMT_ALLOW_FLUSH
The flag was set unintentionally and the code will break if a NULL packet is passed in. Signed-off-by: Vignesh Venkatasubramanian <vigneshv@google.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/webm_chunk.c')
-rw-r--r--libavformat/webm_chunk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/webm_chunk.c b/libavformat/webm_chunk.c
index c7cc0b8ff3..3dfef4bb0e 100644
--- a/libavformat/webm_chunk.c
+++ b/libavformat/webm_chunk.c
@@ -256,7 +256,7 @@ AVOutputFormat ff_webm_chunk_muxer = {
.mime_type = "video/webm",
.extensions = "chk",
.flags = AVFMT_NOFILE | AVFMT_GLOBALHEADER | AVFMT_NEEDNUMBER |
- AVFMT_TS_NONSTRICT | AVFMT_ALLOW_FLUSH,
+ AVFMT_TS_NONSTRICT,
.priv_data_size = sizeof(WebMChunkContext),
.write_header = webm_chunk_write_header,
.write_packet = webm_chunk_write_packet,