aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorChristophe Gisquet <christophe.gisquet@free.fr>2007-11-25 09:43:35 +0000
committerGuillaume Poirier <gpoirier@mplayerhq.hu>2007-11-25 09:43:35 +0000
commitac40ce42444a38beee0a1f58e2a9794b9ce679bf (patch)
tree1b70170a84fa451233ee355e77dcaa064a279469 /libavcodec
parente082f4a89b8da92c4af39121febfb55aedc7cd11 (diff)
downloadffmpeg-ac40ce42444a38beee0a1f58e2a9794b9ce679bf.tar.gz
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
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/i386/vc1dsp_mmx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/i386/vc1dsp_mmx.c b/libavcodec/i386/vc1dsp_mmx.c
index f0a7b99eb7..7fe473e21d 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"