aboutsummaryrefslogtreecommitdiffstats
path: root/formats/format_wav.c
diff options
context:
space:
mode:
Diffstat (limited to 'formats/format_wav.c')
-rwxr-xr-xformats/format_wav.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/formats/format_wav.c b/formats/format_wav.c
index 52f1508ab..804c38c4e 100755
--- a/formats/format_wav.c
+++ b/formats/format_wav.c
@@ -53,7 +53,7 @@ struct ast_filestream {
};
-static ast_mutex_t wav_lock = AST_MUTEX_INITIALIZER;
+AST_MUTEX_DEFINE_STATIC(wav_lock);
static int glistcnt = 0;
static char *name = "wav";