avcodec/cavsdec: Propagate error codes inside decode_mb_i()
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 4 Nov 2018 19:00:16 +0000 (20:00 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 24 Mar 2019 09:38:51 +0000 (10:38 +0100)
commita6e6b866694ea1d8627e392f138a1029d9e54a19
treed4915885921314ffd355bbcc1ee1bea30a1a49a3
parentf3404f6b90ef740bfc0a9924a033c78c4947e2f4
avcodec/cavsdec: Propagate error codes inside decode_mb_i()

Fixes: Timeout
Fixes: 10702/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_CAVS_fuzzer-5669940938407936

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit c1cee0565692c541f589aefd7f375d37f55b9d94)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/cavsdec.c