changeset 28980:90e69faca51d

Fix swscale compilation with Altivec enabled.
author reimar
date Fri, 20 Mar 2009 16:12:03 +0000
parents 9fc0071c1d20
children e975109ff839
files libswscale/swscale_template.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libswscale/swscale_template.c	Fri Mar 20 14:44:26 2009 +0000
+++ b/libswscale/swscale_template.c	Fri Mar 20 16:12:03 2009 +0000
@@ -1212,7 +1212,7 @@
 #if HAVE_ALTIVEC
     /* The following list of supported dstFormat values should
        match what's found in the body of ff_yuv2packedX_altivec() */
-    if (!(c->flags & SWS_BITEXACT) && !c->alpPixBuf
+    if (!(c->flags & SWS_BITEXACT) && !c->alpPixBuf &&
        (c->dstFormat==PIX_FMT_ABGR  || c->dstFormat==PIX_FMT_BGRA  ||
         c->dstFormat==PIX_FMT_BGR24 || c->dstFormat==PIX_FMT_RGB24 ||
         c->dstFormat==PIX_FMT_RGBA  || c->dstFormat==PIX_FMT_ARGB))