[FFmpeg-cvslog] lavf/webm_chunk: Remove AVFMT_ALLOW_FLUSH

Vignesh Venkatasubramanian git at videolan.org
Tue Jun 9 22:21:16 CEST 2015


ffmpeg | branch: master | Vignesh Venkatasubramanian <vigneshv at google.com> | Tue Jun  9 10:02:56 2015 -0700| [34ae98a771891611c6e98c6fc2652868529901bd] | committer: Michael Niedermayer

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 at google.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=34ae98a771891611c6e98c6fc2652868529901bd
---

 libavformat/webm_chunk.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/webm_chunk.c b/libavformat/webm_chunk.c
index c7cc0b8..3dfef4b 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,



More information about the ffmpeg-cvslog mailing list