diff options
author | Matthieu Castet <castet.matthieu@free.fr> | 2009-03-19 23:29:19 +0000 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at> | 2009-03-19 23:29:19 +0000 |
commit | e29c3f934ffe7c6acf1551658c626e2d0083f55b (patch) | |
tree | 8459076597f481b092b74596ae1aaa8ddd31b5ca /libswscale/swscale_template.c | |
parent | ecf05a5971195ddcbadefd218125e3c210046e66 (diff) | |
download | ffmpeg-e29c3f934ffe7c6acf1551658c626e2d0083f55b.tar.gz |
Remove useless casting in asm "m" operand.
Patch by Matthieu Castet, castet D matthieu A free D fr
Originally committed as revision 29007 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale/swscale_template.c')
-rw-r--r-- | libswscale/swscale_template.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libswscale/swscale_template.c b/libswscale/swscale_template.c index ea0b24001f..6d54fc35df 100644 --- a/libswscale/swscale_template.c +++ b/libswscale/swscale_template.c @@ -2613,9 +2613,9 @@ FUNNY_UV_CODE /* GCC 3.3 makes MPlayer crash on IA-32 machines when using "g" operand here, which is needed to support GCC 4.0. */ #if ARCH_X86_64 && ((__GNUC__ > 3) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)) - :: "m" (src1), "m" (dst), "g" ((x86_reg)dstWidth), "m" (xInc_shr16), "m" (xInc_mask), + :: "m" (src1), "m" (dst), "g" (dstWidth), "m" (xInc_shr16), "m" (xInc_mask), #else - :: "m" (src1), "m" (dst), "m" ((long)dstWidth), "m" (xInc_shr16), "m" (xInc_mask), + :: "m" (src1), "m" (dst), "m" (dstWidth), "m" (xInc_shr16), "m" (xInc_mask), #endif "r" (src2) : "%"REG_a, "%"REG_d, "%ecx", "%"REG_D, "%esi" |