From 7613d3b8feab9ba6e11bff9a0ce0ea445d1be188 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 17 Oct 2011 13:01:23 +0200 Subject: [PATCH] mpeg4parser: fix initial qp precission 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 5d0f47ec13..a882f06003 100644 --- a/libavcodec/mpeg4video_parser.c +++ b/libavcodec/mpeg4video_parser.c @@ -99,6 +99,7 @@ static av_cold int mpeg4video_parse_init(AVCodecParserContext *s) if (!pc->enc) return -1; pc->first_picture = 1; + pc->enc->quant_precision=5; return 0; }