[FFmpeg-cvslog] r22488 - branches/0.5/libswscale/swscale.c

siretart subversion
Fri Mar 12 21:35:04 CET 2010


Author: siretart
Date: Fri Mar 12 21:35:04 2010
New Revision: 22488

Log:
fix compilation issue on powerpc

unlike the ARCH_ macros, COMPILE_ALTIVEC needs to be tested more carefully

Modified:
   branches/0.5/libswscale/swscale.c

Modified: branches/0.5/libswscale/swscale.c
==============================================================================
--- branches/0.5/libswscale/swscale.c	Fri Mar 12 18:29:19 2010	(r22487)
+++ branches/0.5/libswscale/swscale.c	Fri Mar 12 21:35:04 2010	(r22488)
@@ -1649,7 +1649,7 @@ static SwsFunc getSwsFunc(int flags){
         return swScale_C;
 
 #else
-#if ARCH_PPC && COMPILE_ALTIVEC
+#if ARCH_PPC && defined COMPILE_ALTIVEC
     if (flags & SWS_CPU_CAPS_ALTIVEC)
         return swScale_altivec;
     else



More information about the ffmpeg-cvslog mailing list