aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/hevc_mp4toannexb_bsf.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2022-11-15 23:10:02 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2023-06-04 20:18:11 +0200
commit832cb64af2b376671ca0876d0f7cc0a5db417d5a (patch)
tree2eded0135026f94defcd2077f7fbbcc907253ed6 /libavcodec/hevc_mp4toannexb_bsf.c
parent42e5ab500a1d0f52ae120de20248486345c8850b (diff)
downloadffmpeg-832cb64af2b376671ca0876d0f7cc0a5db417d5a.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/hevc_mp4toannexb_bsf.c')
0 files changed, 0 insertions, 0 deletions