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
This commit is contained in:
diego 2009-01-25 11:59:22 +00:00
parent 51acb7b7ab
commit 1a1bdca3e4
1 changed files with 1 additions and 0 deletions

View File

@ -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