avcodec/diracdec: Use 64bit in calculation of codeblock coordinates
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 28 Oct 2014 00:23:40 +0000 (01:23 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 28 Oct 2014 00:25:28 +0000 (01:25 +0100)
commit526886e6069636a918c8c04db17e864e3d8151c1
tree9c1cd95b3ab6fba0702d250c7d8db87b6c2057d8
parentd4e8cc35b3d9bf32e713d198b9a55d86f080aa19
avcodec/diracdec: Use 64bit in calculation of codeblock coordinates

Fixes integer overflow
Fixes out of array read
Fixes: asan_heap-oob_107866c_42_041.drc
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/diracdec.c