summaryrefslogtreecommitdiff
path: root/libavcodec/i386
diff options
context:
space:
mode:
authorLoren Merritt <lorenm@u.washington.edu>2008-07-15 04:11:30 +0000
committerLoren Merritt <lorenm@u.washington.edu>2008-07-15 04:11:30 +0000
commit4342a7f30b139935008cc002b81c3fdd7be17f36 (patch)
treeba02fb8ada08e2fb3ee24decbbf974e6437a3dd8 /libavcodec/i386
parent154dffd04c5da3db282c4d2f17f6dd2c5dbf951d (diff)
10l, float_to_int16_interleave_sse/3dnow wrote the wrong samples
Originally committed as revision 14236 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/i386')
-rw-r--r--libavcodec/i386/dsputil_mmx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/i386/dsputil_mmx.c b/libavcodec/i386/dsputil_mmx.c
index db8be862dd..c507023936 100644
--- a/libavcodec/i386/dsputil_mmx.c
+++ b/libavcodec/i386/dsputil_mmx.c
@@ -2198,7 +2198,7 @@ FLOAT_TO_INT16_INTERLEAVE(3dnow,
"punpcklwd %%mm2, %%mm0 \n"
"punpckhwd %%mm2, %%mm1 \n"
"movq %%mm0, (%1,%0)\n"
- "movq %%mm0, 8(%1,%0)\n"
+ "movq %%mm1, 8(%1,%0)\n"
"add $16, %0 \n"
"js 1b \n"
"femms \n"
@@ -2216,7 +2216,7 @@ FLOAT_TO_INT16_INTERLEAVE(sse,
"punpcklwd %%mm2, %%mm0 \n"
"punpckhwd %%mm2, %%mm1 \n"
"movq %%mm0, (%1,%0)\n"
- "movq %%mm0, 8(%1,%0)\n"
+ "movq %%mm1, 8(%1,%0)\n"
"add $16, %0 \n"
"js 1b \n"
"emms \n"