OSDN Git Service

mpeg4parser: fix initial qp precission
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 17 Oct 2011 11:01:23 +0000 (13:01 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 17 Oct 2011 11:01:23 +0000 (13:01 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/mpeg4video_parser.c

index 5d0f47e..a882f06 100644 (file)
@@ -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;
 }