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
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue