mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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:
parent
ce22820627
commit
b4e1630d4d
@ -114,6 +114,7 @@ static av_cold int mpeg4video_parse_init(AVCodecParserContext *s)
|
|||||||
pc->first_picture = 1;
|
pc->first_picture = 1;
|
||||||
pc->enc.quant_precision=5;
|
pc->enc.quant_precision=5;
|
||||||
pc->enc.slice_context_count = 1;
|
pc->enc.slice_context_count = 1;
|
||||||
|
pc->enc.showed_packed_warning = 1;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user