avcodec/pictordec: Error out if more than one plane is unused
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 12 Sep 2018 00:48:04 +0000 (02:48 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 4 Nov 2018 11:53:16 +0000 (12:53 +0100)
commit470700bc96c3817667653d87e81b06a3d9b832eb
tree42ad518a0af1994cb9df4ff4a33469df8d807627
parentdf91af140c5543cfbbed187f696e79b554d2c135
avcodec/pictordec: Error out if more than one plane is unused

Fixes: Timeout
Fixes: 9797/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_PICTOR_fuzzer-5664441659031552

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