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:49 +0000 (20:26 +0100)
commit7ebc27e1fa73c4db3409166b3465825a613bfa86
tree294b9e99b0d7037839d0b0c84b43f0e2e768a7ed
parentbc5777bdab7d5515088713f73507d3a49df7695d
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