Commit d0097bc8 authored by diego's avatar diego

Disable C code when compiling AltiVec code, fixes the warning:

swscale_template.c:2623: warning: `swScale_C' defined but not used


git-svn-id: file:///var/local/repositories/mplayer/trunk/libswscale@28352 b3059339-0415-0410-9bf9-f77b7e298cf2
parent dbfbf88a
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment