Rename SIGN macro to FFSIGN to avoid clashes with system headers.

Originally committed as revision 6665 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Diego Biurrun
2006-10-11 22:59:37 +00:00
parent a957c27b03
commit 02305ff38f
3 changed files with 7 additions and 7 deletions

View File

@@ -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))