diff options
author | David Conrad <lessen42@gmail.com> | 2008-12-16 00:47:59 +0000 |
---|---|---|
committer | David Conrad <lessen42@gmail.com> | 2008-12-16 00:47:59 +0000 |
commit | 2169b79c2a95d4e90aaaf5a1c745a5d981789e92 (patch) | |
tree | 36e4da21156c270ee05d04e7f6452ecbff832192 /libavcodec | |
parent | ac52613c1622df9aa8c1e64b427815be8ffdb316 (diff) | |
download | ffmpeg-2169b79c2a95d4e90aaaf5a1c745a5d981789e92.tar.gz |
Workaround for shared libs on OS X with Apple gcc 4.0.1
Originally committed as revision 16158 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/i386/cavsdsp_mmx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/i386/cavsdsp_mmx.c b/libavcodec/i386/cavsdsp_mmx.c index 15cafd6dc0..2000ba524a 100644 --- a/libavcodec/i386/cavsdsp_mmx.c +++ b/libavcodec/i386/cavsdsp_mmx.c @@ -302,7 +302,7 @@ static void cavs_idct8_add_mmx(uint8_t *dst, int16_t *block, int stride) 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 *dst, int16_t *block, int stride) 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"\ );\ }\ |