diff vp3dsp.c @ 7274:25914f8a9bb3 libavcodec

Fix decoding of 320x240.ogg.
author michael
date Sun, 13 Jul 2008 23:34:29 +0000
parents f99e40a7155b
children 1fbfce20cb79
line wrap: on
line diff
--- a/vp3dsp.c	Sun Jul 13 21:51:29 2008 +0000
+++ b/vp3dsp.c	Sun Jul 13 23:34:29 2008 +0000
@@ -190,7 +190,7 @@
                 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);