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 07:38:03 +0000 (09:38 +0200)
commit7b114d76878f1a542bcb75456492cc43e6414f8b
treed90e2121776a14b7b924204d20a2ae66025e3eb5
parentf76d7352e05526fde7c607b9a9db536a5760af29
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>
libavcodec/svq3.c