avcodec/scpr: Skip frames which change nothing
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 25 Sep 2018 00:36:35 +0000 (02:36 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 30 Sep 2018 20:23:02 +0000 (22:23 +0200)
commitd702769213487923c0fb0abe4b61f4d9ebddb88b
treecca15b10065eeb362cf5944d8282539f9064630e
parenta8a98ba9eeedc0c4b5d95e3b61840174cd254bca
avcodec/scpr: Skip frames which change nothing

Fixes: Timeout
Fixes: 10292/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SCPR_fuzzer-5687943864254464

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