Commit aee99a5d authored by Michael Niedermayer's avatar Michael Niedermayer

swscale/swscale_internal: fix ya16 -> rgba

Fixes Ticket644
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 86b7821e
......@@ -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) \
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment