avformat/wavdec: Use 64bit in new_pos computation
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 27 Apr 2021 18:57:02 +0000 (20:57 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 31 Jul 2021 20:08:38 +0000 (22:08 +0200)
commit9b57d2f0a967195dc1c72fda8f3a983a0132a243
tree92cbb4ab542dbb9b95f058b273befad8a16826a4
parent9dbed908403b0d97ae70881fab68020f148b6b11
avformat/wavdec: Use 64bit in new_pos computation

Fixes: signed integer overflow: 129 * 16711680 cannot be represented in type 'int'
Fixes: 29102/clusterfuzz-testcase-minimized-ffmpeg_dem_WAV_fuzzer-6742285317439488

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