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, 4 Nov 2018 19:26:01 +0000 (20:26 +0100)
commit14c8795361a8b59c575cdce60961d9086aedd2b4
treee1d29e3a704fc50a38d22ef1f37f83d4a68add33
parentecbf42e13a682481deb83eb4e63d56fe87a4b356
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