[FFmpeg-cvslog] r29015 - trunk/libswscale/swscale_template.c

reimar subversion
Fri Mar 20 17:12:04 CET 2009


Author: reimar
Date: Fri Mar 20 17:12:03 2009
New Revision: 29015

Log:
Fix swscale compilation with Altivec enabled.

Modified:
   trunk/libswscale/swscale_template.c

Modified: trunk/libswscale/swscale_template.c
==============================================================================
--- trunk/libswscale/swscale_template.c	Fri Mar 20 15:44:26 2009	(r29014)
+++ trunk/libswscale/swscale_template.c	Fri Mar 20 17:12:03 2009	(r29015)
@@ -1212,7 +1212,7 @@ static inline void RENAME(yuv2packedX)(S
 #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))




More information about the ffmpeg-cvslog mailing list