avcodec/rscc: Skip empty frames (nb_tiles == 0)
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 26 Feb 2018 01:15:34 +0000 (02:15 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 27 Feb 2018 11:23:23 +0000 (12:23 +0100)
commitbbed942dfd64c43d8f943532d8e12f10e7613938
treef071999d4ba050073058d351dbfd9939ca5e91ae
parentfa0c9d69d3d70ab81400c54a7a7d1446c678ef7a
avcodec/rscc: Skip empty frames (nb_tiles == 0)

Fixes: Timeout
Fixes: 6266/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_RSCC_fuzzer-5692431816196096

Its not known if nb_tiles is allowed so it is not treated as an error

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