From 7fd4cbb51973ccb061736e177584201a178f99ed Mon Sep 17 00:00:00 2001 From: Reinhard Tartler Date: Fri, 12 Mar 2010 20:35:04 +0000 Subject: [PATCH] fix compilation issue on powerpc unlike the ARCH_ macros, COMPILE_ALTIVEC needs to be tested more carefully Originally committed as revision 22488 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5 --- libswscale/swscale.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libswscale/swscale.c b/libswscale/swscale.c index 0bdebc59e7..dd8f27adbc 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -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