4xm: fix division by zero caused by bps<8
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 29 May 2012 17:16:22 +0000 (19:16 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 9 Jun 2012 18:39:12 +0000 (20:39 +0200)
commit9e9e6bbe7b79cf7bb628b7f32321b9509ecb3cba
tree66fe528391a7631feffdaa813245b80df9c11867
parent3e4eea6c3255ccbb059db6d5998147597e9ceccd
4xm: fix division by zero caused by bps<8

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 1b8741a6843f3f4667c81c2d63d3182858aa534f)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/4xm.c