projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09f75aa
)
provide INT16_MIN and INT16_MAX for platforms where they are not defined.
author
Luigi Rizzo
<rizzo@icir.org>
Mon, 25 Dec 2006 06:42:15 +0000
(06:42 +0000)
committer
Luigi Rizzo
<rizzo@icir.org>
Mon, 25 Dec 2006 06:42:15 +0000
(06:42 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48959
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
codecs/g722/g722.h
patch
|
blob
|
history
diff --git
a/codecs/g722/g722.h
b/codecs/g722/g722.h
index
95a9da8
..
f57b1c8
100644
(file)
--- 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