aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vp3dsp.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-07-13 23:34:29 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-07-13 23:34:29 +0000
commitf55a5281ac64d44ef2837612f8d21649a06b16ab (patch)
tree3f192bcf700a0d67412f459b84940a30fcff1169 /libavcodec/vp3dsp.c
parent8833f375f9da47f23549d729265bf82f8aeee212 (diff)
downloadffmpeg-f55a5281ac64d44ef2837612f8d21649a06b16ab.tar.gz
Fix decoding of 320x240.ogg.
Originally committed as revision 14227 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/vp3dsp.c')
-rw-r--r--libavcodec/vp3dsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vp3dsp.c b/libavcodec/vp3dsp.c
index fc8f54d8d6..d374a85f6e 100644
--- a/libavcodec/vp3dsp.c
+++ b/libavcodec/vp3dsp.c
@@ -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);