avcodec/vp3: Do not recalculate coded_fragment_list for keyframes
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 28 Oct 2018 13:44:37 +0000 (14:44 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 29 Oct 2018 16:00:49 +0000 (17:00 +0100)
commitb5e7e437f4c85ccc676399e092acaea80d1386b9
tree20b864e00667ac9aa30b62e39a09f96294588645
parentf563180817774e5fdd17e32992dce4fa01dbf881
avcodec/vp3: Do not recalculate coded_fragment_list for keyframes

This improves decoding speed of keyframes

Fixes: Timeout (102->27sec)
Fixes: 9642/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VP3_fuzzer-6676767875006464

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