ac3dec: Check number of output channels.
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 20 Apr 2012 15:52:33 +0000 (17:52 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 20 Apr 2012 15:52:33 +0000 (17:52 +0200)
commit2c22701c371c2f3dea21fcdbb97c981939fb77af
treec8491565ace42e9aa233175801d303aaf2af8df7
parent1df49142bab1b7bccd11392aa9e819e297d21a6e
ac3dec: Check number of output channels.

Fixes out of array write.

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