mirror of https://github.com/FFmpeg/FFmpeg.git
This moves computations out of a loop
This may help with UB in vsynth*-jpeg2000-yuva444p16
Fixes: signed integer overflow: 31665934879948800 * 9998 cannot be represented in type 'long'
Fixes: 69024/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_JPEG2000_fuzzer-5949662967169024
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit a84fbd7471
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
release/6.1
parent
4a554ffb9b
commit
62a9b53e19
1 changed files with 5 additions and 4 deletions
Loading…
Reference in new issue