avcodec/hq_hqa: Check info size
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 29 May 2020 22:43:46 +0000 (00:43 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 5 Jun 2020 16:14:17 +0000 (18:14 +0200)
commitcf28521fee22dbe2f7eeb8ab0306c0fd0802c48a
tree0b0f9cb72260356336e65b384a4d147a4e9d575c
parentb6c8444e2387d9a75b24d5ec1d8308fe6e37645b
avcodec/hq_hqa: Check info size

Fixes: assertion failure
Fixes: 21079/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_HQ_HQA_fuzzer-5737046523248640

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