ffmpeg/libswscale
Michael Niedermayer a604063ede
swscale/input: Use more unsigned intermediates
Same principle as previous commit, with sufficiently huge rgb2yuv table
values this produces wrong results and undefined behavior.
The unsigned produces the same incorrect results. That is probably
ok as these cases with huge values seem not to occur in any real
use case.

Fixes: signed integer overflow
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit ba209e3d51)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2023-04-21 01:55:09 +02:00
..
aarch64 swscale: aarch64: Fix yuv2rgb with negative strides 2022-11-04 14:32:34 +02:00
arm
ppc swscale: Add support for NV24 and NV42 2019-05-12 07:51:02 -07:00
tests swscale/tests/swscale: Lengthen pixfmt name buffer to 21 bytes 2019-05-13 13:39:49 +02:00
x86 swscale/x86/swscale: Fix undefined left shifts of negative numbers 2020-05-20 03:42:42 +02:00
Makefile
alphablend.c swscale/alphablend: Fix slice handling 2021-10-06 13:59:34 +02:00
bayer_template.c
gamma.c
hscale.c
hscale_fast_bilinear.c
input.c swscale/input: Use more unsigned intermediates 2023-04-21 01:55:09 +02:00
libswscale.v
log2_tab.c
options.c
output.c swscale/output: Bias 16bps output calculations to improve non overflowing range 2023-04-21 01:55:08 +02:00
rgb2rgb.c
rgb2rgb.h
rgb2rgb_template.c
slice.c swscale/slice: Fix wrong return on error 2021-10-06 13:54:16 +02:00
swscale.c swscale/swscale: Fix several invalid shifts related to vChrDrop 2020-05-19 17:17:35 +02:00
swscale.h
swscale_internal.h swscale/ppc: Move VSX-using code to its own file 2018-12-04 02:59:07 +01:00
swscale_unscaled.c swscale: Add support for NV24 and NV42 2019-05-12 07:51:02 -07:00
swscaleres.rc
utils.c swscale/utils: Fix invalid left shifts of negative numbers 2020-05-20 03:44:07 +02:00
version.h Bump minor versions to separate 4.2 from master 2019-07-21 18:36:18 +02:00
vscale.c
yuv2rgb.c swscale/yuv2rgb: Fix vertical dither offset with slices 2020-05-19 17:17:36 +02:00