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 /libswscale | |
parent | d736b52a045c5a51d5dce0da3905619b51b878d9 (diff) | |
download | ffmpeg-streaming-a340cfef8259e6fdceb8b3560a3f5c6cc73423f7.zip ffmpeg-streaming-a340cfef8259e6fdceb8b3560a3f5c6cc73423f7.tar.gz |
swscale/input: Fix alpha bswap for set readAlpPlanar
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libswscale')
-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 14ab5ab..62480c2 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) { |