avcodec/diracdec: check that GetBitContext has not ended in codeblock()
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 13 Sep 2018 22:22:13 +0000 (00:22 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 27 Sep 2018 23:35:12 +0000 (01:35 +0200)
commit179ed2d2e08949662de2249c71f01ae388ca851e
treed4c636bb174b30a4082134a2e62f81595b3b703d
parent7274d849cc44f9e4c5573d1b271d99f46ad7d583
avcodec/diracdec: check that GetBitContext has not ended in codeblock()

Fixes: Timeout (part 2 of 2)
Fixes: 9774/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DIRAC_fuzzer-5748957085958144

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/diracdec.c