aacdec: check channel count
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 27 Jan 2013 19:37:27 +0000 (20:37 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 7 Feb 2013 00:00:02 +0000 (01:00 +0100)
commitc459c7b23efffab762560e41ad6a2c0dbbfd4915
tree3e2a17257d6a9420448c8a7b3092c2b2a8d685b7
parent08e2c7a45f82b897a285548c257972eb1ad352c5
aacdec: check channel count

Prevent out of array accesses

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 96f452ac647dae33c53c242ef3266b65a9beafb6)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/aacdec.c