aasc: check before reading the first 4 byte, fix overread
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 14 Nov 2012 02:03:04 +0000 (03:03 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 14 Nov 2012 02:03:35 +0000 (03:03 +0100)
commite1631f8ebe9a8f2a9cca85d60160b9be94eb63f3
tree1a673b6b6d4a3f58c4995e601e0bb5911e90d2bc
parent39c5cd601ef09b1a540471960cb3a7e3ba17cb3c
aasc: check before reading the first 4 byte, fix overread

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