Mercurial > mplayer.hg
diff libswscale/swscale_template.c @ 30393:db62840d27ae
Use isAnyRGB() where possible
author | michael |
---|---|
date | Tue, 26 Jan 2010 08:03:28 +0000 |
parents | 2a33c1c37e6b |
children | 9f6927dd7472 |
line wrap: on
line diff
--- a/libswscale/swscale_template.c Tue Jan 26 08:01:50 2010 +0000 +++ b/libswscale/swscale_template.c Tue Jan 26 08:03:28 2010 +0000 @@ -3048,7 +3048,7 @@ 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);