[Asterisk-cvs] asterisk rtp.c,1.49,1.50

markster at lists.digium.com markster at lists.digium.com
Wed Feb 25 16:10:46 CST 2004


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

Modified Files:
	rtp.c 
Log Message:
Fix slow down in rtp.c


Index: rtp.c
===================================================================
RCS file: /usr/cvsroot/asterisk/rtp.c,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -d -r1.49 -r1.50
--- rtp.c	25 Feb 2004 04:10:32 -0000	1.49
+++ rtp.c	25 Feb 2004 20:59:39 -0000	1.50
@@ -913,7 +913,7 @@
 		case AST_FORMAT_ALAW:
 			/* If we're within +/- 20ms from when where we
 			   predict we should be, use that */
-			pred = rtp->lastts + f->datalen * 2;
+			pred = rtp->lastts + f->datalen;
 			break;
 		case AST_FORMAT_ADPCM:
 		case AST_FORMAT_G726:




More information about the svn-commits mailing list