avutil/mathematics: Fix division by 0
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 9 Dec 2015 16:39:38 +0000 (17:39 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 15 Jan 2016 16:39:04 +0000 (17:39 +0100)
commit5d865cb375c49227d3966858728908ad1d1044f8
tree5e1bcf1ac3ebe408ae584a35bb91134a4dd07156
parent4bcbeaa337ea18b57868bd62f24e735bbaac667c
avutil/mathematics: Fix division by 0

Fixes: CID1341571

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit bc8b1e694cc395fdf5e2917377ef11263c937d85)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavutil/mathematics.c