avcodec/fic: Check input size against minimal frame size
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 1 May 2019 18:12:12 +0000 (20:12 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 9 May 2019 20:07:26 +0000 (22:07 +0200)
commitc7f95d2bd938b440f1d9310ce4785a28dcb44a09
treee9ca56f5aa4bac7d6fb953f7498494bd839148e4
parent8d77debf7dab556b93ea9e936a7762b8e31420ac
avcodec/fic: Check input size against minimal frame size

Fixes: Timeout (22sec ->54ms)
Fixes: 14439/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FIC_fuzzer-5660988231122944

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/fic.c