diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2011-06-05 21:46:16 -0400 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-06-07 10:03:47 -0400 |
commit | ca364a5b43044bc98a7aef001fb1543b7b13411d (patch) | |
tree | 4f229e765d3a0b7626ca70f1bdb1b43862d4227c /libswscale/ppc/swscale_altivec.c | |
parent | b3b28b080f588a63d9bcf2714daa7119ece2da61 (diff) | |
download | ffmpeg-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.c | 2 |
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)) { |