avcodec/wmaprodec: Do not initialize unused variable to out of array value
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 4 Oct 2021 17:30:15 +0000 (19:30 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 5 Oct 2021 18:06:42 +0000 (20:06 +0200)
commit07e46690532a21faf29938e7a06f452a780f0361
treebb7f916f5203f2909d3499621c90d8b4fc26ffa3
parent31a373ce71a10f50a603149e4201280996ff7ed1
avcodec/wmaprodec: Do not initialize unused variable to out of array value

Fixes: out of array read
Fixes: 39452/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_XMA2_fuzzer-4678745030524928.fuzz

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/wmaprodec.c