typo
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 2 Sep 2004 18:46:41 +0000 (18:46 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 2 Sep 2004 18:46:41 +0000 (18:46 +0000)
Originally committed as revision 3431 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/mpeg12.c

index 04c559c..569ed1e 100644 (file)
@@ -1632,7 +1632,7 @@ static inline int mpeg1_fast_decode_block_inter(MpegEncContext *s, DCTELEM *bloc
         v= SHOW_UBITS(re, &s->gb, 2);
         if (v & 2) {
             LAST_SKIP_BITS(re, &s->gb, 2);
-            level= (3*qscale)>>4;
+            level= (3*qscale)>>1;
             level= (level-1)|1;
             if(v&1)
                 level= -level;