mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-12 04:44:25 +00:00
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
This commit is contained in:
parent
f40c7dbb7e
commit
dfe44a855d
@ -961,6 +961,7 @@ static inline void yuv2rgbXinC_full(SwsContext *c, int16_t *lumFilter, int16_t *
|
|||||||
|
|
||||||
#if ARCH_PPC
|
#if ARCH_PPC
|
||||||
#if (HAVE_ALTIVEC || defined (RUNTIME_CPUDETECT)) && CONFIG_GPL
|
#if (HAVE_ALTIVEC || defined (RUNTIME_CPUDETECT)) && CONFIG_GPL
|
||||||
|
#undef COMPILE_C
|
||||||
#define COMPILE_ALTIVEC
|
#define COMPILE_ALTIVEC
|
||||||
#endif
|
#endif
|
||||||
#endif //ARCH_PPC
|
#endif //ARCH_PPC
|
||||||
|
Loading…
Reference in New Issue
Block a user