chroma_qscale seems not used anywhere for mpeg1/2 so do not waste cpu time setting it
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 31 Jul 2007 20:44:48 +0000 (20:44 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 31 Jul 2007 20:44:48 +0000 (20:44 +0000)
Originally committed as revision 9842 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/mpeg12.c

index a570ae4..de58b8f 100644 (file)
@@ -1739,7 +1739,6 @@ static int mpeg_decode_slice(Mpeg1Context *s1, int mb_y,
 #endif
 
         ret = mpeg_decode_mb(s, s->block);
-        s->chroma_qscale= s->qscale;
 
         dprintf(s->avctx, "ret=%d\n", ret);
         if (ret < 0)