mace: check channel count, fixes FPE
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 3 Jun 2012 12:53:43 +0000 (14:53 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 3 Jun 2012 13:01:34 +0000 (15:01 +0200)
commit6df1cfa7e4d488051d7b5033c0c69df970db9f82
tree3fa0831895d6df09e7e07a3cf78b2c6fa6ff88c1
parentcc229d4e83889d1298f1a0863b55feec6c5c339a
mace: check channel count, fixes FPE

Fixes ticket1391

Found-by: Piotr Bandurski <ami_stuff@o2.pl>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/mace.c