avcodec/arbc: Skip unchanged frames
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 14 Apr 2019 09:03:06 +0000 (11:03 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 24 Apr 2019 15:05:02 +0000 (17:05 +0200)
commit8b10f09fd537aa1d8d775a04f3f294c30986ab07
tree5715b4074622033b4b3b0bb28b14352f91dd7725
parent6f0e9a863466bfcbd75ee15d4d8a6aad2a5126a4
avcodec/arbc: Skip unchanged frames

Fixes: Timeout (16sec -> 5sec)
Fixes: 14128/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ARBC_fuzzer-5767365721063424

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