aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale/swscale.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2010-03-23 22:59:14 +0000
committerDiego Biurrun <diego@biurrun.de>2010-03-23 22:59:14 +0000
commitf684f3c58a77a20f18b80f888d69c2bacb53ca9b (patch)
tree98ba442bb7bdc4b6a30f92928abe019b43d692fb /libswscale/swscale.c
parent13bc1ac31abea96a1373fc1ea86b35afc8630cba (diff)
downloadffmpeg-f684f3c58a77a20f18b80f888d69c2bacb53ca9b.tar.gz
AltiVec implies a PPC CPU, so there is no need to check for both.
Originally committed as revision 30954 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale/swscale.c')
-rw-r--r--libswscale/swscale.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/swscale.c b/libswscale/swscale.c
index 1d255bcb39..e297ef4f58 100644
--- a/libswscale/swscale.c
+++ b/libswscale/swscale.c
@@ -1262,7 +1262,7 @@ SwsFunc ff_getSwsFunc(SwsContext *c)
}
#else
-#if ARCH_PPC && defined(COMPILE_ALTIVEC)
+#ifdef COMPILE_ALTIVEC
if (flags & SWS_CPU_CAPS_ALTIVEC) {
sws_init_swScale_altivec(c);
return swScale_altivec;