avcodec/diracdec: Count truncated parts as errors in decode_component()
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 8 Mar 2019 14:43:08 +0000 (15:43 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 17 Mar 2019 10:35:00 +0000 (11:35 +0100)
commitdd2a2a51fe47361fa82c67f2a417e1706713eaef
tree4d849e0b5cc920789bc6aaa1f411d8797c3b6a96
parentefe4aef90fd8d4259aed0a6ffe317b5be6557da9
avcodec/diracdec: Count truncated parts as errors in decode_component()

Fixes: Timeout (29sec -> 4sec)
Fixes: 13150/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DIRAC_fuzzer-5690185671507968

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