avformat/avidec: Use 64bit for frame number in odml index parsing
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 11 May 2021 16:54:53 +0000 (18:54 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 28 Aug 2021 18:47:24 +0000 (20:47 +0200)
commita4c98c507ed3c729fc92d641b974385f8aa37b33
tree8d7c31b111c17b9bb46e94c1a04cd19d57bc0d4f
parent104a8399ae96f022a3662bd67668ad07e53e3093
avformat/avidec: Use 64bit for frame number in odml index parsing

Fixes: signed integer overflow: 1179337772 + 1392508928 cannot be represented in type 'int'
Fixes: 34088/clusterfuzz-testcase-minimized-ffmpeg_dem_AVI_fuzzer-5846945303232512

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/avidec.c