avcodec/dirac_arith: fix integer overflow
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 28 Oct 2014 01:14:41 +0000 (02:14 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 28 Oct 2014 14:00:05 +0000 (15:00 +0100)
commite26fd791efaa52f825903be6e41d44fbaf40aadb
tree20ab75668314650eb8a7ebdda762a0fcf94e66f9
parentad98b2891cea0276323ae1769ba6a6128855c316
avcodec/dirac_arith: fix integer overflow

Fixes: asan_heap-oob_1078676_9_008.drc
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 39680caceebfc6abf09b17032048752c014e57a8)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/dirac_arith.h