diff --git a/libavcodec/libpostproc/postprocess.c b/libavcodec/libpostproc/postprocess.c
index 9dc0491d2d33e3b88e268f8780093126f0174d38..82bf628480bd24ee48a72f0ce6ee1998ce382949 100644
--- a/libavcodec/libpostproc/postprocess.c
+++ b/libavcodec/libpostproc/postprocess.c
@@ -696,7 +696,7 @@ static inline void postProcess(uint8_t src[], int srcStride, uint8_t dst[], int
 #else
 #ifdef ARCH_POWERPC
 #ifdef HAVE_ALTIVEC
-        else if(c->cpuCaps & PP_CPU_CAPS_ALTIVEC)
+        if(c->cpuCaps & PP_CPU_CAPS_ALTIVEC)
 		postProcess_altivec(src, srcStride, dst, dstStride, width, height, QPs, QPStride, isColor, c);
         else
 #endif