[SCM] libav/experimental: Typo fix. Previous version had some picture error building up until next keyframe. Now MMX version decodes 1:1 what the C version does patch by Christophe GISQUET %christophe P gisquet A free P fr%

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:09:46 UTC 2013


The following commit has been merged in the experimental branch:
commit ac40ce42444a38beee0a1f58e2a9794b9ce679bf
Author: Christophe Gisquet <christophe.gisquet at free.fr>
Date:   Sun Nov 25 09:43:35 2007 +0000

    Typo fix. Previous version had some picture error building up until next keyframe.
    Now MMX version decodes 1:1 what the C version does
    patch by Christophe GISQUET %christophe P gisquet A free P fr%
    
    Originally committed as revision 11090 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/i386/vc1dsp_mmx.c b/libavcodec/i386/vc1dsp_mmx.c
index f0a7b99..7fe473e 100644
--- a/libavcodec/i386/vc1dsp_mmx.c
+++ b/libavcodec/i386/vc1dsp_mmx.c
@@ -175,8 +175,8 @@ static void vc1_put_shift2_mmx(uint8_t *dst, const uint8_t *src,
         "punpcklbw %%mm0, %%mm2            \n\t"
         "paddw     %%mm1, %%mm3            \n\t"
         "paddw     %%mm2, %%mm4            \n\t"
-        "movd      0(%1,%3), %%mm1         \n\t"
-        "movd      4(%1,%3), %%mm2         \n\t"
+        "movd      0(%1,%4), %%mm1         \n\t"
+        "movd      4(%1,%4), %%mm2         \n\t"
         "pmullw    %%mm6, %%mm3            \n\t" /* 0,9,9,0*/
         "pmullw    %%mm6, %%mm4            \n\t" /* 0,9,9,0*/
         "punpcklbw %%mm0, %%mm1            \n\t"

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list