mlpdec: set channel variables after checking them
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 19 Apr 2012 17:50:54 +0000 (19:50 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 19 Apr 2012 18:01:33 +0000 (20:01 +0200)
commita9cd12ee2afb3f3aad783c396816b23d8513f472
treeb362935020a7152374e769437464dfa1663e09f7
parentab75ad0116b4dfbab640b93833192fb1095bc83e
mlpdec: set channel variables after checking them

This fixes out of array reads

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