OSDN Git Service

Use ABS macro from libavutil.
authorDiego Biurrun <diego@biurrun.de>
Tue, 10 Oct 2006 07:46:41 +0000 (07:46 +0000)
committerDiego Biurrun <diego@biurrun.de>
Tue, 10 Oct 2006 07:46:41 +0000 (07:46 +0000)
Originally committed as revision 6619 to svn://svn.ffmpeg.org/ffmpeg/trunk

libpostproc/postprocess.c

index 1b7f521..dabe9e1 100644 (file)
@@ -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 ABS(a) ((a) > 0 ? (a) : (-(a)))
 #define SIGN(a) ((a) > 0 ? 1 : -1)
 
 #define GET_MODE_BUFFER_SIZE 500