avcodec/ffv1dec_template: Check for the end of input after 1024 pixels
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 8 Oct 2018 01:35:58 +0000 (03:35 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 11 Oct 2018 22:53:14 +0000 (00:53 +0200)
commitccd2b20ad96c9d26ed27b4dabc08ea937987963e
treec604a04ea347ca05af1d143aa8e4a8867250b20c
parent8f1524802469cb701040561cd05a9a924dec3627
avcodec/ffv1dec_template: Check for the end of input after 1024 pixels

Fixes: Timeout
Fixes: 10385/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FFV1_fuzzer-5689206987292672

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