wmaprodec: check num_sfb for validity. Fix out of array accesses
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 14 Nov 2012 20:14:40 +0000 (21:14 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 14 Nov 2012 20:15:08 +0000 (21:15 +0100)
commit50f0a6b4e64b78e0df1919ee1fa5e805309911c2
tree4af5e8a5affeef33eef7dec9039b2b1d21f5302d
parent30bce34b6719ca99ad72c62e2fba3eade71f1eae
wmaprodec: check num_sfb for validity. Fix out of array accesses

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