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, 18 Nov 2018 01:35:03 +0000 (02:35 +0100)
commitd10266a96f28824a9248b096a01de5a944d261b2
treec4d847240fbbaabc7e3e9aac6637ddb95bb08f31
parent875a5d055b4ccbe9b9dabab2899ed425f73afcd3
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