[Asterisk-cvs] asterisk rtp.c,1.59,1.60

markster at lists.digium.com markster at lists.digium.com
Sat Mar 20 00:27:25 CST 2004


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

Modified Files:
	rtp.c 
Log Message:
Same for transmit core


Index: rtp.c
===================================================================
RCS file: /usr/cvsroot/asterisk/rtp.c,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -d -r1.59 -r1.60
--- rtp.c	20 Mar 2004 05:19:45 -0000	1.59
+++ rtp.c	20 Mar 2004 05:22:52 -0000	1.60
@@ -861,6 +861,7 @@
 	unsigned int ms;
 	if (!rtp->txcore.tv_sec && !rtp->txcore.tv_usec) {
 		gettimeofday(&rtp->txcore, NULL);
+		rtp->txcore.tv_usec -= rtp->txcore.tv_usec % 20000;
 	}
 	if (delivery && (delivery->tv_sec || delivery->tv_usec)) {
 		/* Use previous txcore */




More information about the svn-commits mailing list