avutil/integer: Fix av_mod_i() with negative dividend
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 1 Dec 2015 11:41:43 +0000 (12:41 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 6 Dec 2015 11:40:50 +0000 (12:40 +0100)
commit5cc411022e49edad09aa3eb5faef14a2a51492f6
tree4df515ccd96547f2120c9591859302de9e78c60a
parenta3ec4b307b4f688643b46aefb4b50584236a04d3
avutil/integer: Fix av_mod_i() with negative dividend

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

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