diff options
author | Diego Biurrun <diego@biurrun.de> | 2009-01-25 11:59:22 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2009-01-25 11:59:22 +0000 |
commit | dfe44a855d72be69f21b29656bcd87ba7dbcda11 (patch) | |
tree | 7d3ecc3be1ca4ba68efb6995e8171232fb994dc1 | |
parent | f40c7dbb7ec68ffdfb2490cf33c9b54eab7cabb6 (diff) | |
download | ffmpeg-dfe44a855d72be69f21b29656bcd87ba7dbcda11.tar.gz |
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
-rw-r--r-- | libswscale/swscale.c | 1 |
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 |