imc: Catch a division by zero
authorLuca Barbato <lu_zero@gentoo.org>
Tue, 9 Jul 2013 07:18:16 +0000 (09:18 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Sat, 24 Aug 2013 09:32:58 +0000 (11:32 +0200)
commit6d2a92c4678616fe342be0b606343ae3ade83641
treed49cfb1c70592862e2f315ad9a0daadf130802b3
parentaa99cb15f6e4032efc1ade53f832a8788bdc758b
imc: Catch a division by zero

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
(cherry picked from commit bbf6a4aa20bfe3d7869b2218e66063602dfb8aa7)

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavcodec/imc.c