From 4342a7f30b139935008cc002b81c3fdd7be17f36 Mon Sep 17 00:00:00 2001 From: Loren Merritt Date: Tue, 15 Jul 2008 04:11:30 +0000 Subject: [PATCH] 10l, float_to_int16_interleave_sse/3dnow wrote the wrong samples Originally committed as revision 14236 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/i386/dsputil_mmx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/i386/dsputil_mmx.c b/libavcodec/i386/dsputil_mmx.c index db8be862d..c50702393 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" -- 2.11.0