aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2009-01-25 11:59:22 +0000
committerDiego Biurrun <diego@biurrun.de>2009-01-25 11:59:22 +0000
commitdfe44a855d72be69f21b29656bcd87ba7dbcda11 (patch)
tree7d3ecc3be1ca4ba68efb6995e8171232fb994dc1
parentf40c7dbb7ec68ffdfb2490cf33c9b54eab7cabb6 (diff)
downloadffmpeg-dfe44a855d72be69f21b29656bcd87ba7dbcda11.tar.gz
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
-rw-r--r--libswscale/swscale.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libswscale/swscale.c b/libswscale/swscale.c
index 02032bde89..8a16d82980 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