avcodec/tscc2: Skip duplicate frames
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 21 May 2017 13:34:21 +0000 (15:34 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 25 May 2017 12:30:04 +0000 (14:30 +0200)
commit4dc3714c48e74e75a3a9c7d9fb52fd5917107508
treeae40a7f58cb6dc89bb757457e35986b762210a28
parentea71a48c7e8a76ee447fa518cca087df9288288d
avcodec/tscc2: Skip duplicate frames

This turns CFR duplicated frames into skiped frames

Fixes: Timeout
Fixes: 1719/clusterfuzz-testcase-minimized-6375090079924224

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