[FFmpeg-cvslog] r30937 - trunk/libswscale/swscale.c
diego
subversion
Fri Mar 19 10:57:36 CET 2010
Author: diego
Date: Fri Mar 19 10:57:36 2010
New Revision: 30937
Log:
Check whether COMPILE_ALTIVEC is defined, not if it is set to a 0/1 value.
COMPILE_ALTIVEC is never set to 1, it is just #defined.
Modified:
trunk/libswscale/swscale.c
Modified: trunk/libswscale/swscale.c
==============================================================================
--- trunk/libswscale/swscale.c Fri Mar 19 00:37:57 2010 (r30936)
+++ trunk/libswscale/swscale.c Fri Mar 19 10:57:36 2010 (r30937)
@@ -1262,7 +1262,7 @@ SwsFunc ff_getSwsFunc(SwsContext *c)
}
#else
-#if ARCH_PPC && COMPILE_ALTIVEC
+#if ARCH_PPC && defined(COMPILE_ALTIVEC)
if (flags & SWS_CPU_CAPS_ALTIVEC) {
sws_init_swScale_altivec(c);
return swScale_altivec;
More information about the ffmpeg-cvslog
mailing list