diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2016-11-09 23:37:29 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-11-10 00:33:12 +0100 |
commit | a340cfef8259e6fdceb8b3560a3f5c6cc73423f7 (patch) | |
tree | 654e7cbb57d5db7c11d8b407d84a05aa4f6b8f85 | |
parent | d736b52a045c5a51d5dce0da3905619b51b878d9 (diff) | |
download | ffmpeg-a340cfef8259e6fdceb8b3560a3f5c6cc73423f7.tar.gz |
swscale/input: Fix alpha bswap for set readAlpPlanar
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r-- | libswscale/input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/input.c b/libswscale/input.c index 14ab5abb3a..62480c256b 100644 --- a/libswscale/input.c +++ b/libswscale/input.c @@ -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) { |