diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-08-05 01:43:21 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-08-05 01:51:11 +0200 |
commit | aee99a5d4406ed302d930eaa8a074ece9c2218a9 (patch) | |
tree | 3cabd76ed80acb8ddf6720ea3b2b5608c3a5641b | |
parent | 86b7821e29b426a52a93e1b71ef00bbed4c26cbf (diff) | |
download | ffmpeg-aee99a5d4406ed302d930eaa8a074ece9c2218a9.tar.gz |
swscale/swscale_internal: fix ya16 -> rgba
Fixes Ticket644
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libswscale/swscale_internal.h | 2 |
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) \ ) |