mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
swscale/input: Fix alpha bswap for set readAlpPlanar
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
d736b52a04
commit
a340cfef82
@ -1490,7 +1490,7 @@ av_cold void ff_sws_init_input_funcs(SwsContext *c)
|
||||
}
|
||||
if (c->needAlpha) {
|
||||
if (is16BPS(srcFormat) || isNBPS(srcFormat)) {
|
||||
if (HAVE_BIGENDIAN == !isBE(srcFormat))
|
||||
if (HAVE_BIGENDIAN == !isBE(srcFormat) && !c->readAlpPlanar)
|
||||
c->alpToYV12 = bswap16Y_c;
|
||||
}
|
||||
switch (srcFormat) {
|
||||
|
Loading…
Reference in New Issue
Block a user