dcadec: check layout & channel count for consistency.
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 13 Nov 2012 16:33:03 +0000 (17:33 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 13 Nov 2012 16:33:38 +0000 (17:33 +0100)
commita0212ecf8452e9861286639543a772dc94f3ad07
treec9d384eaa37ab65d4ade5d2e45b341c34cbed6cf
parent4facddd568b7b6c0014b4a0da157b8ba8f3e3b1a
dcadec: check layout & channel count for consistency.

Fixes out of array accesses

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