[Asterisk-cvs] asterisk rtp.c,1.82,1.83

markster at lists.digium.com markster at lists.digium.com
Sat Jul 31 19:16:52 CDT 2004


Update of /usr/cvsroot/asterisk
In directory localhost.localdomain:/tmp/cvs-serv8830

Modified Files:
	rtp.c 
Log Message:
Get other instance of 101 changed to "payload" (bug #2191)


Index: rtp.c
===================================================================
RCS file: /usr/cvsroot/asterisk/rtp.c,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -d -r1.82 -r1.83
--- rtp.c	31 Jul 2004 20:31:11 -0000	1.82
+++ rtp.c	31 Jul 2004 23:02:55 -0000	1.83
@@ -1017,7 +1017,7 @@
 		}
 		if (x ==0) {
 			/* Clear marker bit and increment seqno */
-			rtpheader[0] = htonl((2 << 30)  | (101 << 16) | (rtp->seqno++));
+			rtpheader[0] = htonl((2 << 30)  | (payload << 16) | (rtp->seqno++));
 			/* Make duration 800 (100ms) */
 			rtpheader[3] |= htonl((800));
 			/* Set the End bit for the last 3 */




More information about the svn-commits mailing list