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>
Thu, 12 Nov 2015 01:55:46 +0000 (02:55 +0100)
commit03ef13889c1965c5b5f5d383815438389695a2a4
treece314ab0f1fba546396d347c8edd30ff1bbcaa51
parentab3f129011710d308846d072365c4678a84d76bd
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