diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2002-05-13 22:29:39 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2002-05-13 22:29:39 +0000 |
commit | 1642b09aba30d6f0b95a11bf079f99db94fdac02 (patch) | |
tree | 64c5de0a1afb1872ee474057eb3f244015f2801c /codecs/codec_adpcm.c | |
parent | 1c5b980de51d4caaa1d463fd0f702305b87aec4e (diff) |
Version 0.1.12 from FTP
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@446 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'codecs/codec_adpcm.c')
-rwxr-xr-x | codecs/codec_adpcm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/codecs/codec_adpcm.c b/codecs/codec_adpcm.c index c2aa090d5..c07aba538 100755 --- a/codecs/codec_adpcm.c +++ b/codecs/codec_adpcm.c @@ -13,6 +13,7 @@ * the GNU General Public License */ +#include <asterisk/lock.h> #include <asterisk/logger.h> #include <asterisk/module.h> #include <asterisk/translate.h> @@ -27,7 +28,7 @@ #define BUFFER_SIZE 8096 /* size for the translation buffers */ -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 = "Adaptive Differential PCM Coder/Decoder"; |