aboutsummaryrefslogtreecommitdiffstats
path: root/codecs/codec_g726.c
diff options
context:
space:
mode:
Diffstat (limited to 'codecs/codec_g726.c')
-rwxr-xr-xcodecs/codec_g726.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/codecs/codec_g726.c b/codecs/codec_g726.c
index ac32678ca..3dad026dd 100755
--- a/codecs/codec_g726.c
+++ b/codecs/codec_g726.c
@@ -29,7 +29,7 @@
#define BUFFER_SIZE 8096 /* size for the translation buffers */
#define BUF_SHIFT 5
-static ast_mutex_t localuser_lock = AST_MUTEX_INITIALIZER;
+AST_MUTEX_DEFINE_STATIC(localuser_lock);
static int localusecnt = 0;
static char *tdesc = "ITU G.726-32kbps G726 Transcoder";