mpc8: fix channel checks
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 3 Jun 2012 15:40:30 +0000 (17:40 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 6 Jun 2012 22:55:25 +0000 (00:55 +0200)
commitd0d9182d3e816f40ebf7dcfab9176050faa9b529
treecac9f01b902a395eb90f6e6e15fa6197a467c308
parent320704f739e831b13f5c4e9a7770d46fa9d24bde
mpc8: fix channel checks

fix heap array overflow

Found-by: Piotr Bandurski <ami_stuff@o2.pl>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 44c10168cff41c200825448b77cb8feff0d316c9)

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