summaryrefslogtreecommitdiff
path: root/vp8/common/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'vp8/common/common.h')
-rw-r--r--vp8/common/common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/vp8/common/common.h b/vp8/common/common.h
index ee5b58c75..17262d698 100644
--- a/vp8/common/common.h
+++ b/vp8/common/common.h
@@ -22,6 +22,9 @@
extern "C" {
#endif
+#define MIN(x, y) (((x) < (y)) ? (x) : (y))
+#define MAX(x, y) (((x) > (y)) ? (x) : (y))
+
/* Only need this for fixed-size arrays, for structs just assign. */
#define vp8_copy( Dest, Src) { \