aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-01-25 11:59:22 +0000
committerGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-01-25 11:59:22 +0000
commit1a1bdca3e49f030fa0314ded195d8d5ea28f368b (patch)
tree0c22433b04daf0f09c87076a991eb527c6987ea9
parent51acb7b7ab16bc9e82058b76988807e418560ede (diff)
Disable C code when compiling AltiVec code, fixes the warning:
swscale_template.c:2623: warning: `swScale_C' defined but not used git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28352 b3059339-0415-0410-9bf9-f77b7e298cf2
-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