mirror of https://git.ffmpeg.org/ffmpeg.git
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
This commit is contained in:
parent
ecf05a5971
commit
e29c3f934f
|
@ -2613,9 +2613,9 @@ FUNNY_UV_CODE
|
||||||
/* GCC 3.3 makes MPlayer crash on IA-32 machines when using "g" operand here,
|
/* GCC 3.3 makes MPlayer crash on IA-32 machines when using "g" operand here,
|
||||||
which is needed to support GCC 4.0. */
|
which is needed to support GCC 4.0. */
|
||||||
#if ARCH_X86_64 && ((__GNUC__ > 3) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
|
#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
|
#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
|
#endif
|
||||||
"r" (src2)
|
"r" (src2)
|
||||||
: "%"REG_a, "%"REG_d, "%ecx", "%"REG_D, "%esi"
|
: "%"REG_a, "%"REG_d, "%ecx", "%"REG_D, "%esi"
|
||||||
|
|
Loading…
Reference in New Issue