avcodec/scpr: Check minimum size of type 17
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 26 Sep 2019 19:56:48 +0000 (21:56 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 10 Oct 2019 12:34:19 +0000 (14:34 +0200)
commitb3c25263d1ee1aa14a0e69c9423f5bd4cacfb4ce
treed81abbb6306f890a981911a98c9bef2f7808a573
parent080819b3b4b59ef498511ac349414af85728349c
avcodec/scpr: Check minimum size of type 17

Improves: Timeout (85sec -> 46sec)
Improves: 17644/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SCPR_fuzzer-5715704283660288

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/scpr.c