[SCM] libav/experimental: 100l for myself (breaking amd64)

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:44:17 UTC 2013


The following commit has been merged in the experimental branch:
commit 435b0720a89b5aa1dd9e92f13336d5a35964a6e6
Author: Michael Niedermayer <michaelni at gmx.at>
Date:   Wed Jun 1 18:04:01 2005 +0000

    100l for myself (breaking amd64)
    
    Originally committed as revision 4336 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/i386/idct_mmx.c b/libavcodec/i386/idct_mmx.c
index 7be3cf5..c1d80e1 100644
--- a/libavcodec/i386/idct_mmx.c
+++ b/libavcodec/i386/idct_mmx.c
@@ -675,13 +675,13 @@ void ff_h264_idct_add_mmx2(uint8_t *dst, int16_t *block, int stride)
 
     asm volatile(
     STORE_DIFF_4P( %%mm0, %%mm1, %%mm7)
-        "addl %1, %0             \n\t"
+        "add %1, %0             \n\t"
     STORE_DIFF_4P( %%mm2, %%mm1, %%mm7)
-        "addl %1, %0             \n\t"
+        "add %1, %0             \n\t"
     STORE_DIFF_4P( %%mm3, %%mm1, %%mm7)
-        "addl %1, %0             \n\t"
+        "add %1, %0             \n\t"
     STORE_DIFF_4P( %%mm4, %%mm1, %%mm7)
         : "+r"(dst)
-        : "r" (stride)
+        : "r" ((long)stride)
     );
 }

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list