diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2022-11-15 23:10:02 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2022-11-20 21:55:06 +0100 |
commit | ba209e3d5142fd31bb6c3e05c5b183118a278afc (patch) | |
tree | 3b0320f88f610ccf05adabb3755c419239a60636 /libavutil/timecode.h | |
parent | ce566281f943227480b5441401e90ee8a843730f (diff) | |
download | ffmpeg-ba209e3d5142fd31bb6c3e05c5b183118a278afc.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>
Diffstat (limited to 'libavutil/timecode.h')
0 files changed, 0 insertions, 0 deletions