avcodec/diracdec: Fixes integer overflow
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 15 Aug 2017 01:32:44 +0000 (03:32 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 9 Sep 2017 23:33:28 +0000 (01:33 +0200)
commit02d224406f40f45803efd69b8cfe1602649821bc
treed107b88050d861cb3e5aae193d8ddaedc91a90b7
parenta33e375d7d4c8c309c85aa1a53e98bfc62ace5a1
avcodec/diracdec: Fixes integer overflow

Fixes: runtime error: signed integer overflow: 340018243 * 27 cannot be represented in type 'int'
Fixes: 2861/clusterfuzz-testcase-minimized-5361070510178304

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