avcodec/diracdec: Check bytes count in else branch in decode_lowdelay() too
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 22 Jul 2018 19:42:16 +0000 (21:42 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 31 Oct 2018 23:52:46 +0000 (00:52 +0100)
commitc1a3212d45a99dce153f4185befc49daa579ef10
treea7b97fd10221a3f11774961f9696841085a57a4f
parentc07d568603d33fe3d3c38d888da859f202299382
avcodec/diracdec: Check bytes count in else branch in decode_lowdelay() too

Fixes: signed integer overflow: 8 * 340018243 cannot be represented in type 'int'
Fixes: 9441/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DIRAC_fuzzer-5194665207791616

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 bed125b7108481574f36fdd6ee699b27354602e8)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/diracdec.c