[Asterisk-cvs] asterisk rtp.c,1.65,1.66

markster at lists.digium.com markster at lists.digium.com
Sat May 15 12:15:32 CDT 2004


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

Modified Files:
	rtp.c 
Log Message:
Fix typo in outgoing rfc2833 handling (bug #1646)


Index: rtp.c
===================================================================
RCS file: /usr/cvsroot/asterisk/rtp.c,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -d -r1.65 -r1.66
--- rtp.c	5 May 2004 03:56:27 -0000	1.65
+++ rtp.c	15 May 2004 16:26:52 -0000	1.66
@@ -918,7 +918,6 @@
 	int hdrlen = 12;
 	int res;
 	int ms;
-	int pred;
 	int x;
 	char data[256];
 
@@ -951,7 +950,7 @@
 
 	ms = calc_txstamp(rtp, NULL);
 	/* Default prediction */
-	pred = rtp->lastts + ms * 8;
+	rtp->lastts = rtp->lastts + ms * 8;
 	
 	/* Get a pointer to the header */
 	rtpheader = (unsigned int *)data;




More information about the svn-commits mailing list