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>
Mon, 14 Dec 2015 15:51:01 +0000 (16:51 +0100)
commit8be41ad2bb3201aac6ec608e860ecb3e4ff02c26
treed707b3f84e4a0baea82464aa589e906de46b5c08
parent9a8d2f51cf0548aa3724e2a46e58416b333c755f
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