avformat/vpk: Fix integer overflow in samples_per_block computation
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 6 Jun 2019 21:14:13 +0000 (23:14 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 27 Jun 2019 15:50:47 +0000 (17:50 +0200)
commita2ebfb6afe9df2fa51d0ece0a205638fe6e1b832
treef60d2f410049d7d310e434f25ccd13177151cd92
parent1a022c66c827d8f3192c6c1d1dca0c679b8cff92
avformat/vpk: Fix integer overflow in samples_per_block computation

Fixes: signed integer overflow: 84026453 * 28 cannot be represented in type 'int'
Fixes: 15111/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-5675630072430592

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 8c6c4129b4cc3b9e0b3a527a5a15c904ec6ae3b6)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/vpk.c