[FFmpeg-cvslog] r16158 - trunk/libavcodec/i386/cavsdsp_mmx.c
conrad
subversion
Tue Dec 16 01:47:59 CET 2008
Author: conrad
Date: Tue Dec 16 01:47:59 2008
New Revision: 16158
Log:
Workaround for shared libs on OS X with Apple gcc 4.0.1
Modified:
trunk/libavcodec/i386/cavsdsp_mmx.c
Modified: trunk/libavcodec/i386/cavsdsp_mmx.c
==============================================================================
--- trunk/libavcodec/i386/cavsdsp_mmx.c (original)
+++ trunk/libavcodec/i386/cavsdsp_mmx.c Tue Dec 16 01:47:59 2008
@@ -302,7 +302,7 @@ static void cavs_idct8_add_mmx(uint8_t *
VOP(%%mm1, %%mm2, %%mm3, %%mm4, %%mm5, %%mm0, OP)\
\
: "+a"(src), "+c"(dst)\
- : "S"((x86_reg)srcStride), "D"((x86_reg)dstStride), "m"(ADD), "m"(MUL1), "m"(MUL2)\
+ : "S"((x86_reg)srcStride), "r"((x86_reg)dstStride), "m"(ADD), "m"(MUL1), "m"(MUL2)\
: "memory"\
);\
if(h==16){\
@@ -317,7 +317,7 @@ static void cavs_idct8_add_mmx(uint8_t *
VOP(%%mm3, %%mm4, %%mm5, %%mm0, %%mm1, %%mm2, OP)\
\
: "+a"(src), "+c"(dst)\
- : "S"((x86_reg)srcStride), "D"((x86_reg)dstStride), "m"(ADD), "m"(MUL1), "m"(MUL2)\
+ : "S"((x86_reg)srcStride), "r"((x86_reg)dstStride), "m"(ADD), "m"(MUL1), "m"(MUL2)\
: "memory"\
);\
}\
More information about the ffmpeg-cvslog
mailing list