avcodec/diracdec: Propagate errors from dirac_get_arith_uint()
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 8 Jan 2019 22:29:38 +0000 (23:29 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 16 Jan 2019 00:29:18 +0000 (01:29 +0100)
commit6ed3d0e01c20aba7ef3984c0b8965d26e9f4990c
tree41d3e9b939990155390d3202d55bee658d716ac9
parent6dde65d7c0ac34ad1aa2619ec7d979cb6464f9af
avcodec/diracdec: Propagate errors from dirac_get_arith_uint()

Testcase: 11663/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DIRAC_fuzzer-5636791864918016

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