From dfe44a855d72be69f21b29656bcd87ba7dbcda11 Mon Sep 17 00:00:00 2001
From: Diego Biurrun <diego@biurrun.de>
Date: Sun, 25 Jan 2009 11:59:22 +0000
Subject: [PATCH] Disable C code when compiling AltiVec code, fixes the
 warning: swscale_template.c:2623: warning: `swScale_C' defined but not used

Originally committed as revision 28352 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
---
 libswscale/swscale.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libswscale/swscale.c b/libswscale/swscale.c
index 02032bde899..8a16d829802 100644
--- a/libswscale/swscale.c
+++ b/libswscale/swscale.c
@@ -961,6 +961,7 @@ static inline void yuv2rgbXinC_full(SwsContext *c, int16_t *lumFilter, int16_t *
 
 #if ARCH_PPC
 #if (HAVE_ALTIVEC || defined (RUNTIME_CPUDETECT)) && CONFIG_GPL
+#undef COMPILE_C
 #define COMPILE_ALTIVEC
 #endif
 #endif //ARCH_PPC
-- 
GitLab