mpeg4parser: fix initial qp precission

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2011-10-17 13:01:23 +02:00
parent efb1ce28b2
commit 7613d3b8fe
1 changed files with 1 additions and 0 deletions

View File

@ -99,6 +99,7 @@ static av_cold int mpeg4video_parse_init(AVCodecParserContext *s)
if (!pc->enc) if (!pc->enc)
return -1; return -1;
pc->first_picture = 1; pc->first_picture = 1;
pc->enc->quant_precision=5;
return 0; return 0;
} }