avcodec/ulti: Check number of blocks at init
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 15 Jan 2018 18:03:48 +0000 (19:03 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 12 Apr 2018 22:35:15 +0000 (00:35 +0200)
commita9fb2f8c80d4c76854773bf654175573942312a9
treed9cd86e49a61d8fce68b244336972acc24d5dcc8
parent488a6ae7e5e8ffbcddcdda62174b898bbe6a8b4d
avcodec/ulti: Check number of blocks at init

Fixes: Timeout
Fixes: 4832/clusterfuzz-testcase-4699096590843904

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