OSDN Git Service

Fix decoding of 320x240.ogg.
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 13 Jul 2008 23:34:29 +0000 (23:34 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 13 Jul 2008 23:34:29 +0000 (23:34 +0000)
Originally committed as revision 14227 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/vp3dsp.c

index fc8f54d..d374a85 100644 (file)
@@ -190,7 +190,7 @@ static av_always_inline void idct(uint8_t *dst, int stride, int16_t *input, int
                 dst[4*stride]=
                 dst[5*stride]=
                 dst[6*stride]=
-                dst[7*stride]= 128 + ((xC4S4 * ip[0*8] + (IdctAdjustBeforeShift<<16))>>20);
+                dst[7*stride]= cm[128 + ((xC4S4 * ip[0*8] + (IdctAdjustBeforeShift<<16))>>20)];
             }else{
                 if(ip[0*8]){
                     int v= ((xC4S4 * ip[0*8] + (IdctAdjustBeforeShift<<16))>>20);