Mercurial > libavcodec.hg
changeset 8346:899a12113af5 libavcodec
Workaround for shared libs on OS X with Apple gcc 4.0.1
author | conrad |
---|---|
date | Tue, 16 Dec 2008 00:47:59 +0000 |
parents | 5d41a95e6a75 |
children | 81238f0bea66 |
files | i386/cavsdsp_mmx.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/i386/cavsdsp_mmx.c Mon Dec 15 23:01:54 2008 +0000 +++ b/i386/cavsdsp_mmx.c Tue Dec 16 00:47:59 2008 +0000 @@ -302,7 +302,7 @@ 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 @@ 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"\ );\ }\