avformat/pp_bnk: Use 64bit in bitrate computation
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 25 Apr 2021 18:12:13 +0000 (20:12 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 18 Jun 2021 16:58:25 +0000 (18:58 +0200)
commit88fc295838b3cf16b43c0bbea5766fe92b18dd17
tree4694fc35103510a06bb89e8923b2a3938f777002
parent1ca00b5e44f21840b608e238fa135a1aab6e576b
avformat/pp_bnk: Use 64bit in bitrate computation

Fixes: signed integer overflow: 1207959552 * 4 cannot be represented in type 'int'
Fixes: 29102/clusterfuzz-testcase-minimized-ffmpeg_dem_PP_BNK_fuzzer-6747301169201152

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