avutil/common: Add FFNABS()
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 3 Sep 2015 00:17:24 +0000 (02:17 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 6 Dec 2015 11:40:48 +0000 (12:40 +0100)
commitc09fe0346d9456a47717ebbd48bee1e62cab6818
treea767ba653f67fa8ed966fdc14c91d7fc7495f000
parent7ffe708297e900889f6979eee292b766b1f1872a
avutil/common: Add FFNABS()

This macro avoids the undefined corner case with the *_MIN values

Previous version Reviewed-by: Ganesh Ajjanagadde <gajjanag@mit.edu>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit d6cd614dac579850076ae312c29c4188f8659e46)

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