alsdec: check block length
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 12 Dec 2012 11:28:45 +0000 (12:28 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 12 Dec 2012 13:12:47 +0000 (14:12 +0100)
commit0ceca269b66ec12a23bf0907bd2c220513cdbf16
tree93884d780590b04058ddaa9f20397c1b100d6ed4
parent16c3cb9bbf2d9f5dc1c77433b731d50a560d7367
alsdec: check block length

Fix writing over the end

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/alsdec.c