diff common.h @ 119:7d5463d9530a libavutil

Rename SIGN macro to FFSIGN to avoid clashes with system headers.
author diego
date Wed, 11 Oct 2006 22:59:37 +0000
parents 358f5db2581d
children f42a6347df1d
line wrap: on
line diff
--- a/common.h	Wed Oct 11 08:30:13 2006 +0000
+++ b/common.h	Wed Oct 11 22:59:37 2006 +0000
@@ -193,7 +193,7 @@
 /* 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))