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>
Mon, 19 Feb 2018 01:40:54 +0000 (02:40 +0100)
commite5296dfffaad9e8c61db88d6862c23cae08e35bc
treea338d7a56a2cbbca899bc666170d36da41ede571
parent7d5ca21698112b0a9af49c6ac0023b29a2d959c8
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