aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-01-26 20:49:25 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-01-26 21:38:01 +0100
commitf0d3a031150fdb95162a2689d80d19c774a5e88f (patch)
tree40a7c0d36dfcffed096b65e3b65392508eea3e59 /libswscale
parent02001a372de6e07a51d1772accc7c7b27f2af7ae (diff)
downloadffmpeg-f0d3a031150fdb95162a2689d80d19c774a5e88f.tar.gz
sws: include isRGB in isAnyRGB() so that future RGB formats wont be missed again
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswscale')
-rw-r--r--libswscale/swscale_internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h
index 5f10a6022e..0a320c2da4 100644
--- a/libswscale/swscale_internal.h
+++ b/libswscale/swscale_internal.h
@@ -716,6 +716,7 @@ static av_always_inline int isRGB(enum AVPixelFormat pix_fmt)
( \
isRGBinInt(x) || \
isBGRinInt(x) || \
+ isRGB(x) || \
(x)==AV_PIX_FMT_GBRP9LE || \
(x)==AV_PIX_FMT_GBRP9BE || \
(x)==AV_PIX_FMT_GBRP10LE || \