projects
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f40c7db
)
Disable C code when compiling AltiVec code, fixes the warning:
author
Diego Biurrun
<diego@biurrun.de>
Sun, 25 Jan 2009 11:59:22 +0000
(11:59 +0000)
committer
Diego Biurrun
<diego@biurrun.de>
Sun, 25 Jan 2009 11:59:22 +0000
(11:59 +0000)
swscale_template.c:2623: warning: `swScale_C' defined but not used
Originally committed as revision 28352 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
libswscale/swscale.c
patch
|
blob
|
blame
|
history
diff --git
a/libswscale/swscale.c
b/libswscale/swscale.c
index
02032bd
..
8a16d82
100644
(file)
--- 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