aac: check the maximum number of channels
authorReinhard Tartler <siretart@tauware.de>
Tue, 7 May 2013 05:13:50 +0000 (07:13 +0200)
committerReinhard Tartler <siretart@tauware.de>
Thu, 9 May 2013 18:05:53 +0000 (20:05 +0200)
commitade4f3e74635d1fa4b3c34c3a1724b43d92b08b5
tree9843477d32de32a9002378eec867001cc3fe5abc
parent053c19cd88b64a7e66231a41a4d81898aef1b6dd
aac: check the maximum number of channels

Broken bitstreams could report a larger than specified number of
channels and cause outbound writes.

CC:libav-stable@libav.org
(cherry picked from commit a943a132f36f4df8fe2f749744677b71984abce7)

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Conflicts:
libavcodec/aacdec.c
libavcodec/aacdec.c