diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-03-20 16:12:03 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-03-20 16:12:03 +0000 |
commit | d55ef6362faf4bf5aaa36aa993f15a3ef79fed92 (patch) | |
tree | df8e0484731693547e777be306a9310daffe95d2 /libswscale | |
parent | 3164d25e1927defe43b50794353f6f792fcfa64d (diff) | |
download | ffmpeg-d55ef6362faf4bf5aaa36aa993f15a3ef79fed92.tar.gz |
Fix swscale compilation with Altivec enabled.
Originally committed as revision 29015 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale')
-rw-r--r-- | libswscale/swscale_template.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/swscale_template.c b/libswscale/swscale_template.c index 5c3bf2ae50..7faeff90c9 100644 --- a/libswscale/swscale_template.c +++ b/libswscale/swscale_template.c @@ -1212,7 +1212,7 @@ static inline void RENAME(yuv2packedX)(SwsContext *c, int16_t *lumFilter, int16_ #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)) |