1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-03 05:10:03 +02:00
FFmpeg/libswscale
Michael Niedermayer 0891a36dd8
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-07 23:40:37 +02:00
..
aarch64 swscale: aarch64: Fix yuv2rgb with negative strides 2022-11-04 14:31:30 +02:00
arm
ppc lsws/ppc/yuv2rgb_altivec: Fix build in non-VSX environments 2021-02-22 23:19:21 -05:00
tests
x86 libswscale/x86/yuv2yuvX: Removes unrolling for mmx and mmxext 2021-04-03 19:43:39 +02:00
alphablend.c swscale/alphablend: Fix slice handling 2021-10-05 23:19:40 +02:00
bayer_template.c
gamma.c
hscale_fast_bilinear.c
hscale.c
input.c swscale/input: Use more unsigned intermediates 2023-04-07 23:40:37 +02:00
libswscale.v
log2_tab.c
Makefile
options.c
output.c swscale/output: Bias 16bps output calculations to improve non overflowing range 2023-04-07 23:40:36 +02:00
rgb2rgb_template.c swscale/rgb2rgb_template: use shuffle macro on big-endian arches 2020-12-12 23:07:22 -05:00
rgb2rgb.c
rgb2rgb.h
slice.c swscale/slice: Fix wrong return on error 2021-09-08 21:31:50 +02:00
swscale_internal.h lavu/mem: move the DECLARE_ALIGNED macro family to mem_internal on next+1 bump 2021-01-01 14:14:57 +01:00
swscale_unscaled.c lavu/mem: move the DECLARE_ALIGNED macro family to mem_internal on next+1 bump 2021-01-01 14:14:57 +01:00
swscale.c lavu/mem: move the DECLARE_ALIGNED macro family to mem_internal on next+1 bump 2021-01-01 14:14:57 +01:00
swscale.h
swscaleres.rc
utils.c
version.h Bump Versions before release/4.4 branch 2021-03-20 01:01:12 +01:00
vscale.c
yuv2rgb.c