[FFmpeg-cvslog] sws: include isRGB in isAnyRGB() so that future RGB formats wont be missed again

Michael Niedermayer git at videolan.org
Sat Jan 26 23:23:06 CET 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Jan 26 20:49:25 2013 +0100| [f0d3a031150fdb95162a2689d80d19c774a5e88f] | committer: Michael Niedermayer

sws: include isRGB in  isAnyRGB() so that future RGB formats wont be missed again

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f0d3a031150fdb95162a2689d80d19c774a5e88f
---

 libswscale/swscale_internal.h |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h
index 5f10a60..0a320c2 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 || \



More information about the ffmpeg-cvslog mailing list