[Asterisk-cvs] asterisk/codecs codec_adpcm.c,1.8,1.9

markster at lists.digium.com markster at lists.digium.com
Thu Mar 11 16:03:20 CST 2004


Update of /usr/cvsroot/asterisk/codecs
In directory mongoose.digium.com:/tmp/cvs-serv30542/codecs

Modified Files:
	codec_adpcm.c 
Log Message:
By default disable non-standard changes


Index: codec_adpcm.c
===================================================================
RCS file: /usr/cvsroot/asterisk/codecs/codec_adpcm.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- codec_adpcm.c	11 Mar 2004 19:57:10 -0000	1.8
+++ codec_adpcm.c	11 Mar 2004 20:56:26 -0000	1.9
@@ -104,6 +104,8 @@
 	*signal = -2047;
 
   *next = 0;
+
+#ifdef AUTO_RETURN
   if( encoded & 0x7 )
         *rkey = 0;
   else if ( ++(*rkey) == 24 ) {
@@ -113,6 +115,7 @@
 	else if (*signal < 0)
 		*next = 0x2;
   }
+#endif
 
   *ssindex = *ssindex + indsft[(encoded & 7)];
   if (*ssindex < 0)




More information about the svn-commits mailing list