summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReinhard Tartler <siretart@tauware.de>2010-03-12 20:35:04 +0000
committerReinhard Tartler <siretart@tauware.de>2010-03-12 20:35:04 +0000
commit7fd4cbb51973ccb061736e177584201a178f99ed (patch)
treeb3d5929c5faf90fe03e8bf26bdad21ed7b04bb24
parent557e065d5fb738551057348e4c7eb0feba81a3f8 (diff)
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
-rw-r--r--libswscale/swscale.c2
1 files changed, 1 insertions, 1 deletions
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