mxfdec: Fix integer overflow with many channels
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 8 Jan 2013 01:43:14 +0000 (02:43 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 11 Jan 2013 16:42:04 +0000 (17:42 +0100)
commite5e422bcc3e6deee8c5c5bf8f5aeca2c051542f5
tree66c1908507d69cc693cdd98b1a172dd3fa80b193
parent8d06be6b8ce7f411f0b1a614cad88a9719a21a5a
mxfdec: Fix integer overflow with many channels

Fixes division by zero

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Reviewed-by: Matthieu Bouron <matthieu.bouron@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/mxfdec.c