aboutsummaryrefslogtreecommitdiffstats
path: root/codecs/codec_adpcm.c
diff options
context:
space:
mode:
Diffstat (limited to 'codecs/codec_adpcm.c')
-rwxr-xr-xcodecs/codec_adpcm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/codecs/codec_adpcm.c b/codecs/codec_adpcm.c
index 6ca656a23..9aa0304c7 100755
--- a/codecs/codec_adpcm.c
+++ b/codecs/codec_adpcm.c
@@ -28,7 +28,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 = "Adaptive Differential PCM Coder/Decoder";