diff options
author | Mark Spencer <markster@digium.com> | 2004-03-11 20:56:26 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2004-03-11 20:56:26 +0000 |
commit | a082f8d8c7c96299a5180571be3637844a79855c (patch) | |
tree | 4c53bce7bed2b7939110d6466a476cd7f6ac0de6 /codecs/codec_adpcm.c | |
parent | 39c60235f831ddd1a0b9559bf25eaeaf4a7b8eea (diff) |
By default disable non-standard changes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2402 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'codecs/codec_adpcm.c')
-rwxr-xr-x | codecs/codec_adpcm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/codecs/codec_adpcm.c b/codecs/codec_adpcm.c index 0a949602e..6ca656a23 100755 --- a/codecs/codec_adpcm.c +++ b/codecs/codec_adpcm.c @@ -104,6 +104,8 @@ decode (unsigned char encoded, short *ssindex, short *signal, unsigned char *rke *signal = -2047; *next = 0; + +#ifdef AUTO_RETURN if( encoded & 0x7 ) *rkey = 0; else if ( ++(*rkey) == 24 ) { @@ -113,6 +115,7 @@ decode (unsigned char encoded, short *ssindex, short *signal, unsigned char *rke else if (*signal < 0) *next = 0x2; } +#endif *ssindex = *ssindex + indsft[(encoded & 7)]; if (*ssindex < 0) |