[SCM] libav/experimental: Use ABS macro from libavutil.
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 15:52:01 UTC 2013
The following commit has been merged in the experimental branch:
commit e0296b9a2e4678fb5d13685d02dd022333bbf730
Author: Diego Biurrun <diego at biurrun.de>
Date: Tue Oct 10 07:46:41 2006 +0000
Use ABS macro from libavutil.
Originally committed as revision 6619 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libpostproc/postprocess.c b/libpostproc/postprocess.c
index 1b7f521..dabe9e1 100644
--- a/libpostproc/postprocess.c
+++ b/libpostproc/postprocess.c
@@ -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
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list