diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2022-11-15 23:10:02 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2023-06-04 20:18:11 +0200 |
commit | 832cb64af2b376671ca0876d0f7cc0a5db417d5a (patch) | |
tree | 2eded0135026f94defcd2077f7fbbcc907253ed6 /libavcodec/audiodsp.h | |
parent | 42e5ab500a1d0f52ae120de20248486345c8850b (diff) | |
download | ffmpeg-832cb64af2b376671ca0876d0f7cc0a5db417d5a.tar.gz |
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 ba209e3d5142fd31bb6c3e05c5b183118a278afc)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/audiodsp.h')
0 files changed, 0 insertions, 0 deletions