sanm: add forgotten check for decoded_size in old_codec37()
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 12 Feb 2013 00:09:03 +0000 (01:09 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 12 Feb 2013 00:15:57 +0000 (01:15 +0100)
commit365270aec5c2b9284230abc702b11168818f14cf
tree74535e05ca0e9ce1f66557cf6526d16d96318097
parent3b1f037df56b483f64c57c5d95369f461d99a4fa
sanm: add forgotten check for decoded_size in old_codec37()

Fixes out of array accesses

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