tiff: check bppcount
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 19 Feb 2013 16:48:56 +0000 (17:48 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 19 Feb 2013 16:57:36 +0000 (17:57 +0100)
commita34418c28e0accd1468ca15fff4d4f138a609f4e
tree74cb7226b8c4ca6a797541739ac1e021503d0a9c
parent633f9974790e2c0cff6ffafddc1ce0224fb08329
tiff: check bppcount

Fixes division by 0

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/tiff.c