avcodec/hq_hqa: Use ff_set_dimensions()
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 29 Jun 2019 19:53:09 +0000 (21:53 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 8 Jul 2019 07:56:08 +0000 (09:56 +0200)
commita6229fcd405d4135848c83df73634871260de59c
tree75b7c17429db212fa9cd70427b7664fb2132d19b
parent14fcf42958608223a0be6558fb6e323419c9fc27
avcodec/hq_hqa: Use ff_set_dimensions()

Fixes: 15530/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_HQ_HQA_fuzzer-5637370344374272
Fixes: signed integer overflow: 65312 * 65312 cannot be represented in type 'int'

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