aboutsummaryrefslogtreecommitdiffstats
path: root/tools/python
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2022-11-15 23:10:02 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2023-04-21 01:55:09 +0200
commita604063ede5a64123d9e44f00fd951d6c6019eb5 (patch)
tree87a75c43d5c91c808b49e3f44bb792449636d814 /tools/python
parent5f61c15e3c260deccc40208a6a5b45d6f72b794f (diff)
downloadffmpeg-a604063ede5a64123d9e44f00fd951d6c6019eb5.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 'tools/python')
0 files changed, 0 insertions, 0 deletions