changeset 28317:78e355443da9

Disable C code when compiling AltiVec code, fixes the warning: swscale_template.c:2623: warning: `swScale_C' defined but not used
author diego
date Sun, 25 Jan 2009 11:59:22 +0000
parents da307fb1c239
children 6142aa6d6f38
files libswscale/swscale.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libswscale/swscale.c	Sun Jan 25 11:57:17 2009 +0000
+++ b/libswscale/swscale.c	Sun Jan 25 11:59:22 2009 +0000
@@ -961,6 +961,7 @@
 
 #if ARCH_PPC
 #if (HAVE_ALTIVEC || defined (RUNTIME_CPUDETECT)) && CONFIG_GPL
+#undef COMPILE_C
 #define COMPILE_ALTIVEC
 #endif
 #endif //ARCH_PPC