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>
Sun, 2 Nov 2014 10:14:25 +0000 (11:14 +0100)
commit35cf24eee996c6233dde42e93e2a0ff6049f604b
tree8cc895fad9f799352d260058a6c30b794f4baef3
parent341cf9ed8167d8319aff8d814a1a1f5f580deaf5
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