aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2022-11-15 23:10:02 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2023-03-27 13:37:13 +0200
commit1f07ecd6329602c34a18291990e9906db9bd6631 (patch)
tree07b8fa3258622743a3d35e91d27841f87210b61b /libavcodec
parent9ea6ebd12a9cb599f13ff4bf572f2cf90a848cfa (diff)
downloadffmpeg-1f07ecd6329602c34a18291990e9906db9bd6631.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')
0 files changed, 0 insertions, 0 deletions