avcodec/wmaprodec: Fix buflen computation in save_bits()
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 8 Nov 2019 18:20:31 +0000 (19:20 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 1 Dec 2019 16:17:04 +0000 (17:17 +0100)
commit589cb44498b5e9683c95746255a2abd6d1e74f94
treee809b12127eeaa9eca6a78bbe4b2e5fd85321442
parent0e010e489b70c044a67c47083cf8eb03209ee89f
avcodec/wmaprodec: Fix buflen computation in save_bits()

Fixes: Assertion failure
Fixes: 18630/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WMAPRO_fuzzer-5201588654440448

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