From fe9e9d60207980c60f2f545c752f3e78d8a1e51d Mon Sep 17 00:00:00 2001
From: Diego Biurrun <diego@biurrun.de>
Date: Thu, 11 Dec 2008 16:44:22 +0000
Subject: [PATCH] =?UTF-8?q?Do=20not=20set=20COMPILE=5FC=20if=20AltiVec=20i?=
 =?UTF-8?q?s=20enabled=20without=20runtime=20CPU=20detection.=20Gets=20rid?=
 =?UTF-8?q?=20of=20the=20following=20warning:=20postprocess=5Ftemplate.c:3?=
 =?UTF-8?q?271:=20warning:=20=E2=80=98postProcess=5FC=E2=80=99=20defined?=
 =?UTF-8?q?=20but=20not=20used?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Originally committed as revision 16055 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libpostproc/postprocess.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libpostproc/postprocess.c b/libpostproc/postprocess.c
index 56de4f1be31..e13464207b0 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
 
-- 
GitLab