aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale/ppc/swscale_altivec.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2011-06-05 21:46:16 -0400
committerRonald S. Bultje <rsbultje@gmail.com>2011-06-07 10:03:47 -0400
commitca364a5b43044bc98a7aef001fb1543b7b13411d (patch)
tree4f229e765d3a0b7626ca70f1bdb1b43862d4227c /libswscale/ppc/swscale_altivec.c
parentb3b28b080f588a63d9bcf2714daa7119ece2da61 (diff)
downloadffmpeg-ca364a5b43044bc98a7aef001fb1543b7b13411d.tar.gz
swscale: extract SWS_FULL_CHR_H_INT conditional into init code.
Diffstat (limited to 'libswscale/ppc/swscale_altivec.c')
-rw-r--r--libswscale/ppc/swscale_altivec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/ppc/swscale_altivec.c b/libswscale/ppc/swscale_altivec.c
index 423297a8f0..42e965de95 100644
--- a/libswscale/ppc/swscale_altivec.c
+++ b/libswscale/ppc/swscale_altivec.c
@@ -415,7 +415,7 @@ void ff_sws_init_swScale_altivec(SwsContext *c)
/* 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 | SWS_FULL_CHR_H_INT)) && !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)) {