diff options
author | 2009-09-22 14:38:49 +0000 | |
---|---|---|
committer | 2009-09-22 14:38:49 +0000 | |
commit | 5b3208baf2c8438fd54faecff5cbee0695fc81cb (patch) | |
tree | 1221b968fcdfd819759f2a05854d2b384b19d3e2 /libswscale | |
parent | a1e5f14ed17408a8abfc902da935a7d63fe14ff2 (diff) |
Replace manual gcc version check by AV_GCC_VERSION_AT_LEAST macro.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29701 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libswscale')
-rw-r--r-- | libswscale/swscale_template.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/swscale_template.c b/libswscale/swscale_template.c index 27faf49d35..e842cbca23 100644 --- a/libswscale/swscale_template.c +++ b/libswscale/swscale_template.c @@ -2496,7 +2496,7 @@ inline static void RENAME(hcscale)(SwsContext *c, uint16_t *dst, long dstWidth, /* 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)) +#if ARCH_X86_64 && AV_GCC_VERSION_AT_LEAST(3,4) :: "m" (src1), "m" (dst), "g" (dstWidth), "m" (xInc_shr16), "m" (xInc_mask), #else :: "m" (src1), "m" (dst), "m" (dstWidth), "m" (xInc_shr16), "m" (xInc_mask), |