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>
Sat, 20 Jan 2018 20:32:04 +0000 (21:32 +0100)
commit725353525e73bbe5b6b4d01528252675f2417a02
tree942ff91bd70645aa1ebf12c97659c55ee8ab378d
parentef5994e09d07ace62a672fcdc84761231288edad
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>
libavcodec/ulti.c