From ac40ce42444a38beee0a1f58e2a9794b9ce679bf Mon Sep 17 00:00:00 2001
From: Christophe Gisquet <christophe.gisquet@free.fr>
Date: Sun, 25 Nov 2007 09:43:35 +0000
Subject: [PATCH] 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
---
 libavcodec/i386/vc1dsp_mmx.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/i386/vc1dsp_mmx.c b/libavcodec/i386/vc1dsp_mmx.c
index f0a7b99eb74..7fe473e21d8 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"
-- 
GitLab