[SCM] libav/experimental: Fix decoding of 320x240.ogg.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:25:20 UTC 2013


The following commit has been merged in the experimental branch:
commit f55a5281ac64d44ef2837612f8d21649a06b16ab
Author: Michael Niedermayer <michaelni at gmx.at>
Date:   Sun Jul 13 23:34:29 2008 +0000

    Fix decoding of 320x240.ogg.
    
    Originally committed as revision 14227 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/vp3dsp.c b/libavcodec/vp3dsp.c
index fc8f54d..d374a85 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);

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list