lavc: don't show "Invalid and inefficient vfw-avi..." warning in mpeg4 parser
authorwm4 <nfxjfg@googlemail.com>
Sun, 8 Sep 2013 22:46:01 +0000 (00:46 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 9 Sep 2013 01:14:53 +0000 (03:14 +0200)
Only the actual decoder should print this warning.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/mpeg4video_parser.c

index 3cbd69d..b3cbf91 100644 (file)
@@ -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;
 }