aboutsummaryrefslogtreecommitdiffstats
path: root/codecs/codec_a_mu.c
diff options
context:
space:
mode:
Diffstat (limited to 'codecs/codec_a_mu.c')
-rwxr-xr-xcodecs/codec_a_mu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/codecs/codec_a_mu.c b/codecs/codec_a_mu.c
index 4b6634262..84d23a146 100755
--- a/codecs/codec_a_mu.c
+++ b/codecs/codec_a_mu.c
@@ -27,7 +27,7 @@
#define BUFFER_SIZE 8096 /* size for the translation buffers */
-static ast_mutex_t localuser_lock = AST_MUTEX_INITIALIZER;
+AST_MUTEX_DEFINE_STATIC(localuser_lock);
static int localusecnt = 0;
static char *tdesc = "A-law and Mulaw direct Coder/Decoder";