avformat/mvi: Check audio_data_size to be non negative
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 10 Apr 2021 20:55:00 +0000 (22:55 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 18 Jun 2021 18:53:56 +0000 (20:53 +0200)
commitb2a94f59374e74c3300b45c8ab34f1dd7cb9643d
tree72a189ece0c411dc46902fd9454d224b18e3e208
parent8d172d940946dce59841b1c95059f3b38f68ca61
avformat/mvi: Check audio_data_size to be non negative

Fixes: left shift of negative value -224
Fixes: 32144/clusterfuzz-testcase-minimized-ffmpeg_dem_MVI_fuzzer-4971479323246592

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