swscale/swscale_internal: fix ya16 -> rgba

Fixes Ticket644

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2014-08-05 01:43:21 +02:00
parent 86b7821e29
commit aee99a5d44

View File

@ -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) \
)