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 19:06:52 +0000 (21:06 +0200)
commitee6c1670df0bc230e99c3b68f66807af4ebf5e69
tree94ccbcee565232b2013a4255b9cf51b4b194b0fb
parent9e4a68a76c25f82ec30d6d02ee3dba6db787de4d
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