summaryrefslogtreecommitdiff
path: root/libswscale
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2009-05-19 17:37:58 +0000
committerKostya Shishkov <kostya.shishkov@gmail.com>2009-05-19 17:37:58 +0000
commit5b21719ea223b2973dd81d08393feb8610648744 (patch)
tree8c344e2ef31de8309ac1cdf7265fecc3495c701a /libswscale
parent6532cd55b15c65c4853c72c28b4c4a4f37426d19 (diff)
Let SwScaler know that RGB48 BE/LE is 16-bits per component format.
Originally committed as revision 29317 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale')
-rw-r--r--libswscale/swscale_internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h
index effbae9843..18a79cac54 100644
--- a/libswscale/swscale_internal.h
+++ b/libswscale/swscale_internal.h
@@ -299,6 +299,8 @@ const char *sws_format_name(int format);
#define is16BPS(x) ( \
(x)==PIX_FMT_GRAY16BE \
|| (x)==PIX_FMT_GRAY16LE \
+ || (x)==PIX_FMT_RGB48BE \
+ || (x)==PIX_FMT_RGB48LE \
|| (x)==PIX_FMT_YUV420PLE \
|| (x)==PIX_FMT_YUV422PLE \
|| (x)==PIX_FMT_YUV444PLE \