avcodec/tscc: Do not duplicate images
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 15 Jul 2018 12:04:05 +0000 (14:04 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 23 Jul 2018 00:58:38 +0000 (02:58 +0200)
commitd2015e6b86d717fbedb313481145355130bd3567
treec7c3cfa4715e592e168fae35e1d319da50714f0a
parent679bfa453f60e61178cc93cb85d2b272ccd23fea
avcodec/tscc: Do not duplicate images

This improves speed

Fixes: Timeout
Fixes: 9010/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TSCC_fuzzer-6042614817095680

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