diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2010-01-26 07:40:14 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2010-01-26 07:40:14 +0000 |
commit | 3b1ee70312c9a363411a2beb4ee5a5ac105e2fc0 (patch) | |
tree | be82159d1e5e0f329c82bc01911bc9c517460832 /libswscale/swscale_template.c | |
parent | 7b87519b323751d391318d9bbfa1e7bbf5f1e7fb (diff) | |
download | ffmpeg-3b1ee70312c9a363411a2beb4ee5a5ac105e2fc0.tar.gz |
Rename isRGB() and isBGR() as their meaning is confusing.
Originally committed as revision 30433 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 76297d6e59..1f45c30beb 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 && !(isRGB(c->dstFormat) || isBGR(c->dstFormat))) { + if (c->srcRange != c->dstRange && !(isRGBinInt(c->dstFormat) || isBGRinInt(c->dstFormat))) { if (c->srcRange) { c->lumConvertRange = RENAME(lumRangeFromJpeg); c->chrConvertRange = RENAME(chrRangeFromJpeg); |