diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2010-01-26 08:03:28 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2010-01-26 08:03:28 +0000 |
commit | 60222557746d66288f4231ed6ce1bfce7d98de3a (patch) | |
tree | 69021b3968a5e64d140a6390c4f8d95a69d1c37c /libswscale/swscale_template.c | |
parent | 81858371d94ec66aab2b5b64866bd399c7125ad6 (diff) | |
download | ffmpeg-60222557746d66288f4231ed6ce1bfce7d98de3a.tar.gz |
Use isAnyRGB() where possible
Originally committed as revision 30435 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale/swscale_template.c')
-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 1f45c30beb..b682c11d42 100644 --- a/libswscale/swscale_template.c +++ b/libswscale/swscale_template.c @@ -3048,7 +3048,7 @@ static void RENAME(sws_init_swScale)(SwsContext *c) break; } - if (c->srcRange != c->dstRange && !(isRGBinInt(c->dstFormat) || isBGRinInt(c->dstFormat))) { + if (c->srcRange != c->dstRange && !isAnyRGB(c->dstFormat)) { if (c->srcRange) { c->lumConvertRange = RENAME(lumRangeFromJpeg); c->chrConvertRange = RENAME(chrRangeFromJpeg); |