summaryrefslogtreecommitdiffstats
path: root/libswscale
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-03-19 09:57:36 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-03-19 09:57:36 +0000
commit2406c2340640189c7d6f17407222cc243a71141c (patch)
tree52bd5323f74c1638ef427456601790bd7e899191 /libswscale
parenta04b23c3b36dd4b0281e401e2f21116a32aa5c25 (diff)
downloadmpv-2406c2340640189c7d6f17407222cc243a71141c.tar.bz2
mpv-2406c2340640189c7d6f17407222cc243a71141c.tar.xz
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. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30937 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libswscale')
-rw-r--r--libswscale/swscale.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/swscale.c b/libswscale/swscale.c
index de6eec6a2d..1d255bcb39 100644
--- a/libswscale/swscale.c
+++ b/libswscale/swscale.c
@@ -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;