From b4e1630d4d25e7611bcd0c048deb52379abd1fc6 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 9 Sep 2013 00:46:01 +0200 Subject: [PATCH] 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 --- libavcodec/mpeg4video_parser.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/mpeg4video_parser.c b/libavcodec/mpeg4video_parser.c index 3cbd69d00a..b3cbf919c5 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; }