diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2022-11-15 23:10:02 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2023-05-26 00:04:31 +0200 |
commit | 1818f9f4dc4825a4434303358b636a5af3900265 (patch) | |
tree | 0e3541efdd3192c8cd539c3e82d643e91244fbfd /libavformat/yuv4mpeg.h | |
parent | ae61a4ca68a76aac9def0652dab222a607c7b1fd (diff) | |
download | ffmpeg-1818f9f4dc4825a4434303358b636a5af3900265.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 'libavformat/yuv4mpeg.h')
0 files changed, 0 insertions, 0 deletions