[SCM] libav/experimental: 10l, float_to_int16_interleave_sse/3dnow wrote the wrong samples

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:25:22 UTC 2013


The following commit has been merged in the experimental branch:
commit 4342a7f30b139935008cc002b81c3fdd7be17f36
Author: Loren Merritt <lorenm at u.washington.edu>
Date:   Tue Jul 15 04:11:30 2008 +0000

    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"

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list