[FFmpeg-cvslog] r29007 - trunk/libswscale/swscale_template.c
cehoyos
subversion
Fri Mar 20 00:29:20 CET 2009
Author: cehoyos
Date: Fri Mar 20 00:29:19 2009
New Revision: 29007
Log:
Remove useless casting in asm "m" operand.
Patch by Matthieu Castet, castet D matthieu A free D fr
Modified:
trunk/libswscale/swscale_template.c
Modified: trunk/libswscale/swscale_template.c
==============================================================================
--- trunk/libswscale/swscale_template.c Thu Mar 19 22:52:44 2009 (r29006)
+++ trunk/libswscale/swscale_template.c Fri Mar 20 00:29:19 2009 (r29007)
@@ -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"
More information about the ffmpeg-cvslog
mailing list