summaryrefslogtreecommitdiff
path: root/vp9/common/vp9_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'vp9/common/vp9_common.h')
-rw-r--r--vp9/common/vp9_common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/vp9/common/vp9_common.h b/vp9/common/vp9_common.h
index ee027585c..2e1ee4b1a 100644
--- a/vp9/common/vp9_common.h
+++ b/vp9/common/vp9_common.h
@@ -21,6 +21,9 @@
#define TRUE 1
#define FALSE 0
+#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 vp9_copy(Dest, Src) { \