aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2006-10-11 22:59:37 +0000
committerDiego Biurrun <diego@biurrun.de>2006-10-11 22:59:37 +0000
commit02305ff38ffcc41a72fc1cb79c028b724d2d795d (patch)
tree2bc56b8eee4caf0c202b4a024efe5f32cf68884e /libavutil
parenta957c27b037ae85b66405461d9541aeb9d4d2225 (diff)
downloadffmpeg-02305ff38ffcc41a72fc1cb79c028b724d2d795d.tar.gz
Rename SIGN macro to FFSIGN to avoid clashes with system headers.
Originally committed as revision 6665 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/common.h b/libavutil/common.h
index f71eaf839e..a4808ed83b 100644
--- a/libavutil/common.h
+++ b/libavutil/common.h
@@ -193,7 +193,7 @@ typedef uint64_t uint_fast64_t;
/* assume b>0 */
#define ROUNDED_DIV(a,b) (((a)>0 ? (a) + ((b)>>1) : (a) - ((b)>>1))/(b))
#define ABS(a) ((a) >= 0 ? (a) : (-(a)))
-#define SIGN(a) ((a) > 0 ? 1 : -1)
+#define FFSIGN(a) ((a) > 0 ? 1 : -1)
#define FFMAX(a,b) ((a) > (b) ? (a) : (b))
#define FFMIN(a,b) ((a) > (b) ? (b) : (a))