aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2022-11-15 23:10:02 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2023-04-07 23:40:37 +0200
commit0891a36dd8535d8fc34ae4adeac6866c9009a82b (patch)
tree91d006077a26d537f6e24f483fbbe7f96fe5274a /libavformat
parent383a51855a516227a9663a06b959c4cbc5f50095 (diff)
downloadffmpeg-0891a36dd8535d8fc34ae4adeac6866c9009a82b.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')
0 files changed, 0 insertions, 0 deletions