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>
Wed, 9 Dec 2015 16:53:46 +0000 (17:53 +0100)
commitab70292fd0c35d1c308f6cdbb810746edf644233
tree4b49949fa669457ef8087fb9d2a9972858e53189
parent073fcfe35800d0ad400dd1668727e3741e2a6a34
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