mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-08 16:19:33 +00:00
swscale/swscale_internal: fix ya16 -> rgba
Fixes Ticket644 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
86b7821e29
commit
aee99a5d44
@ -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) \
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user