[FFmpeg-cvslog] r29701 - trunk/libswscale/swscale_template.c

diego subversion
Tue Sep 22 16:38:49 CEST 2009


Author: diego
Date: Tue Sep 22 16:38:49 2009
New Revision: 29701

Log:
Replace manual gcc version check by AV_GCC_VERSION_AT_LEAST macro.

Modified:
   trunk/libswscale/swscale_template.c

Modified: trunk/libswscale/swscale_template.c
==============================================================================
--- trunk/libswscale/swscale_template.c	Tue Sep 22 02:02:05 2009	(r29700)
+++ trunk/libswscale/swscale_template.c	Tue Sep 22 16:38:49 2009	(r29701)
@@ -2496,7 +2496,7 @@ inline static void RENAME(hcscale)(SwsCo
 
 /* 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),



More information about the ffmpeg-cvslog mailing list