aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2008-12-11 16:44:22 +0000
committerDiego Biurrun <diego@biurrun.de>2008-12-11 16:44:22 +0000
commitfe9e9d60207980c60f2f545c752f3e78d8a1e51d (patch)
tree998e7ef17251755fe5bc8b96b81208fde489838b
parent4e5b854e4ceefffdc34366ff39532c2804fbf1ce (diff)
downloadffmpeg-fe9e9d60207980c60f2f545c752f3e78d8a1e51d.tar.gz
Do not set COMPILE_C if AltiVec is enabled without runtime CPU detection.
Gets rid of the following warning: postprocess_template.c:3271: warning: ‘postProcess_C’ defined but not used Originally committed as revision 16055 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libpostproc/postprocess.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpostproc/postprocess.c b/libpostproc/postprocess.c
index 56de4f1be3..e13464207b 100644
--- a/libpostproc/postprocess.c
+++ b/libpostproc/postprocess.c
@@ -557,7 +557,7 @@ static av_always_inline void do_a_deblock_C(uint8_t *src, int step, int stride,
//Note: we have C, MMX, MMX2, 3DNOW version there is no 3DNOW+MMX2 one
//Plain C versions
-#if !defined (HAVE_MMX) || defined (RUNTIME_CPUDETECT)
+#if !(defined (HAVE_MMX) || defined (HAVE_ALTIVEC)) || defined (RUNTIME_CPUDETECT)
#define COMPILE_C
#endif