aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-08-05 01:43:21 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-08-05 01:51:11 +0200
commitaee99a5d4406ed302d930eaa8a074ece9c2218a9 (patch)
tree3cabd76ed80acb8ddf6720ea3b2b5608c3a5641b /libswscale
parent86b7821e29b426a52a93e1b71ef00bbed4c26cbf (diff)
downloadffmpeg-aee99a5d4406ed302d930eaa8a074ece9c2218a9.tar.gz
swscale/swscale_internal: fix ya16 -> rgba
Fixes Ticket644 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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 5caf2ae6a8..335e1f8d7e 100644
--- a/libswscale/swscale_internal.h
+++ b/libswscale/swscale_internal.h
@@ -778,6 +778,8 @@ static av_always_inline int isALPHA(enum AVPixelFormat pix_fmt)
|| (x)==AV_PIX_FMT_YVYU422 \
|| (x)==AV_PIX_FMT_UYVY422 \
|| (x)==AV_PIX_FMT_YA8 \
+ || (x)==AV_PIX_FMT_YA16LE \
+ || (x)==AV_PIX_FMT_YA16BE \
|| isRGBinInt(x) \
|| isBGRinInt(x) \
)