summaryrefslogtreecommitdiff
path: root/libavcodec/common.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2002-11-10 11:46:59 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-11-10 11:46:59 +0000
commitb8a78f419dd67cebc70f78e3d183c7eb4ed10c0e (patch)
treef502064c04d45369a01aa2722ac173b80301b8d3 /libavcodec/common.h
parentf11d3f23105f8c7e195990ab2c1728d3dd2f206f (diff)
reversing header game
MIN/MAX -> FFMIN/FFMAX Originally committed as revision 1184 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/common.h')
-rw-r--r--libavcodec/common.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/libavcodec/common.h b/libavcodec/common.h
index 67e25c76ac..73e2d08f2e 100644
--- a/libavcodec/common.h
+++ b/libavcodec/common.h
@@ -161,13 +161,8 @@ inline void dprintf(const char* fmt,...) {}
#define ROUNDED_DIV(a,b) (((a)>0 ? (a) + ((b)>>1) : (a) - ((b)>>1))/(b))
#define ABS(a) ((a) >= 0 ? (a) : (-(a)))
-#ifndef MAX
-# define MAX(a,b) ((a) > (b) ? (a) : (b))
-#endif
-
-#ifndef MIN
-# define MIN(a,b) ((a) > (b) ? (b) : (a))
-#endif
+#define FFMAX(a,b) ((a) > (b) ? (a) : (b))
+#define FFMIN(a,b) ((a) > (b) ? (b) : (a))
#ifdef ARCH_X86
// avoid +32 for shift optimization (gcc should do that ...)