aboutsummaryrefslogtreecommitdiffstats
path: root/codecs/g722/g722.h
diff options
context:
space:
mode:
Diffstat (limited to 'codecs/g722/g722.h')
-rw-r--r--codecs/g722/g722.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/codecs/g722/g722.h b/codecs/g722/g722.h
index 95a9da8d0..f57b1c882 100644
--- a/codecs/g722/g722.h
+++ b/codecs/g722/g722.h
@@ -46,6 +46,13 @@ enum
G722_PACKED = 0x0002
};
+#ifndef INT16_MAX
+#define INT16_MAX 32767
+#endif
+#ifndef INT16_MIN
+#define INT16_MIN (-32768)
+#endif
+
typedef struct
{
/*! TRUE if the operating in the special ITU test mode, with the band split filters