aboutsummaryrefslogtreecommitdiffstats
path: root/codecs/codec_g723_1.c
diff options
context:
space:
mode:
Diffstat (limited to 'codecs/codec_g723_1.c')
-rwxr-xr-xcodecs/codec_g723_1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/codecs/codec_g723_1.c b/codecs/codec_g723_1.c
index 0d793897f..3692b56ab 100755
--- a/codecs/codec_g723_1.c
+++ b/codecs/codec_g723_1.c
@@ -56,7 +56,7 @@
#include "slin_g723_ex.h"
#include "g723_slin_ex.h"
-static ast_mutex_t localuser_lock = AST_MUTEX_INITIALIZER;
+AST_MUTEX_DEFINE_STATIC(localuser_lock);
static int localusecnt=0;
#ifdef ANNEX_B