swscale/output: Fix integer overflow in alpha computation in yuv2gbrp16_full_X_c()
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 16 Feb 2020 19:18:11 +0000 (20:18 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 4 Apr 2020 20:09:46 +0000 (22:09 +0200)
commit49ba1879add99d3f64d70d34fb0255c8a49d4b28
treefd77a37dd75647c848e24b4168c42a18096e98dd
parent64c59b626fa1cfd92703e99b85acc516d0d8ba0b
swscale/output: Fix integer overflow in alpha computation in yuv2gbrp16_full_X_c()

Fixes: signed integer overflow: 524280 * 4432 cannot be represented in type 'int'
Fixes: ticket8322

Found-by: Suhwan
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libswscale/output.c