Commit 6d2d1d28 authored by diego's avatar diego

Move sign macro to libavutil.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@6620 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 3b339cab
......@@ -193,6 +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 FFMAX(a,b) ((a) > (b) ? (a) : (b))
#define FFMIN(a,b) ((a) > (b) ? (b) : (a))
......
......@@ -101,7 +101,6 @@ try to unroll inner for(x=0 ... loop to avoid these damn if(x ... checks
#define MIN(a,b) ((a) > (b) ? (b) : (a))
#define MAX(a,b) ((a) < (b) ? (b) : (a))
#define SIGN(a) ((a) > 0 ? 1 : -1)
#define GET_MODE_BUFFER_SIZE 500
#define OPTIONS_ARRAY_SIZE 10
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment