summaryrefslogtreecommitdiff
path: root/codecs/codec_a_mu.c
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2002-05-13 22:29:39 +0000
committerMark Spencer <markster@digium.com>2002-05-13 22:29:39 +0000
commitd5930d1fe84a2e34289911f5bbd0b700fc2fb32a (patch)
tree64c5de0a1afb1872ee474057eb3f244015f2801c /codecs/codec_a_mu.c
parent04cde57a77609a2e8c8b2cc860737983584af630 (diff)
Version 0.1.12 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@446 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'codecs/codec_a_mu.c')
-rwxr-xr-xcodecs/codec_a_mu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/codecs/codec_a_mu.c b/codecs/codec_a_mu.c
index 96fa2acfc..c7d52b447 100755
--- a/codecs/codec_a_mu.c
+++ b/codecs/codec_a_mu.c
@@ -10,6 +10,7 @@
* the GNU General Public License
*/
+#include <asterisk/lock.h>
#include <asterisk/logger.h>
#include <asterisk/module.h>
#include <asterisk/translate.h>
@@ -26,7 +27,7 @@
#define BUFFER_SIZE 8096 /* size for the translation buffers */
-static pthread_mutex_t localuser_lock = PTHREAD_MUTEX_INITIALIZER;
+static pthread_mutex_t localuser_lock = AST_MUTEX_INITIALIZER;
static int localusecnt = 0;
static char *tdesc = "A-law and Mulaw direct Coder/Decoder";