summaryrefslogtreecommitdiffstats
path: root/libswscale/swscale_template.c
diff options
context:
space:
mode:
authormichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-01-26 07:40:14 +0000
committermichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-01-26 07:40:14 +0000
commit378e6bf1923e4354b7e514a3117ff2de632765b1 (patch)
tree1845af618c5433882076553381d05ceeee64bf81 /libswscale/swscale_template.c
parent2cded4ef2cb2c2333ca441129a4b307c5837197b (diff)
downloadmpv-378e6bf1923e4354b7e514a3117ff2de632765b1.tar.bz2
mpv-378e6bf1923e4354b7e514a3117ff2de632765b1.tar.xz
Rename isRGB() and isBGR() as their meaning is confusing.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30433 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libswscale/swscale_template.c')
-rw-r--r--libswscale/swscale_template.c2
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);