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@gmx.at>
This commit is contained in:
wm4 2013-09-09 00:46:01 +02:00 committed by Michael Niedermayer
parent ce22820627
commit b4e1630d4d
1 changed files with 1 additions and 0 deletions

View 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;
}