avcodec/svq3: Use ff_set_dimension()
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 25 Jun 2019 21:42:43 +0000 (23:42 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 8 Jul 2019 09:44:52 +0000 (11:44 +0200)
commitdd59d92e942f0986d87a80ea69b570e804ed7106
tree5040f7704a69c0a95c67fb48d5dda81ca0cbb8a7
parentd534cb834564f440c6368b5c6597c67e1f97635d
avcodec/svq3: Use ff_set_dimension()

Fixes: OOM
Fixes: 15410/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SVQ3_fuzzer-5659464805384192

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 7b114d76878f1a542bcb75456492cc43e6414f8b)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/svq3.c