From: Loren Merritt Date: Tue, 15 Jul 2008 04:11:30 +0000 (+0000) Subject: 10l, float_to_int16_interleave_sse/3dnow wrote the wrong samples X-Git-Tag: v0.5~3672 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4342a7f30b139935008cc002b81c3fdd7be17f36;p=platform%2Fupstream%2Flibav.git 10l, float_to_int16_interleave_sse/3dnow wrote the wrong samples Originally committed as revision 14236 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/libavcodec/i386/dsputil_mmx.c b/libavcodec/i386/dsputil_mmx.c index db8be86..c507023 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"