diff options
author | Mark Spencer <markster@digium.com> | 2002-05-13 22:29:39 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2002-05-13 22:29:39 +0000 |
commit | d5930d1fe84a2e34289911f5bbd0b700fc2fb32a (patch) | |
tree | 64c5de0a1afb1872ee474057eb3f244015f2801c /codecs/codec_mp3_d.c | |
parent | 04cde57a77609a2e8c8b2cc860737983584af630 (diff) |
Version 0.1.12 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@446 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'codecs/codec_mp3_d.c')
-rwxr-xr-x | codecs/codec_mp3_d.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/codecs/codec_mp3_d.c b/codecs/codec_mp3_d.c index d271dfe51..f417453ef 100755 --- a/codecs/codec_mp3_d.c +++ b/codecs/codec_mp3_d.c @@ -14,6 +14,7 @@ * the GNU General Public License */ +#include <asterisk/lock.h> #include <asterisk/translate.h> #include <asterisk/module.h> #include <asterisk/logger.h> @@ -40,7 +41,7 @@ #define MAX_FRAME_SIZE 1441 #define MAX_OUTPUT_LEN 2304 -static pthread_mutex_t localuser_lock = PTHREAD_MUTEX_INITIALIZER; +static pthread_mutex_t localuser_lock = AST_MUTEX_INITIALIZER; static int localusecnt=0; static char *tdesc = "MP3/PCM16 (signed linear) Translator (Decoder only)"; |