[FFmpeg-cvslog] lavc: don't show "Invalid and inefficient vfw-avi..." warning in mpeg4 parser

wm4 git at videolan.org
Mon Sep 9 03:20:29 CEST 2013


ffmpeg | branch: master | wm4 <nfxjfg at googlemail.com> | Mon Sep  9 00:46:01 2013 +0200| [b4e1630d4d25e7611bcd0c048deb52379abd1fc6] | committer: Michael Niedermayer

lavc: don't show "Invalid and inefficient vfw-avi..." warning in mpeg4 parser

Only the actual decoder should print this warning.

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 libavcodec/mpeg4video_parser.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/mpeg4video_parser.c b/libavcodec/mpeg4video_parser.c
index 3cbd69d..b3cbf91 100644
--- a/libavcodec/mpeg4video_parser.c
+++ b/libavcodec/mpeg4video_parser.c
@@ -114,6 +114,7 @@ static av_cold int mpeg4video_parse_init(AVCodecParserContext *s)
     pc->first_picture = 1;
     pc->enc.quant_precision=5;
     pc->enc.slice_context_count = 1;
+    pc->enc.showed_packed_warning = 1;
     return 0;
 }
 



More information about the ffmpeg-cvslog mailing list