[Sumover-dev] [svn commit] r4083 - common/trunk/src

sumover-dev at cs.ucl.ac.uk sumover-dev at cs.ucl.ac.uk
Fri Jul 27 17:01:42 BST 2007


Author: piers
Date: Fri Jul 27 17:01:42 2007
New Revision: 4083

Modified:
   common/trunk/src/rtp.c

Log:
Applied doug kosovic's patch: common-64bit.patch from 20 July 2007 - thanks
Fixes wrong packet size due to incorrect argument to sizeof() 


Modified: common/trunk/src/rtp.c
==============================================================================
--- common/trunk/src/rtp.c	(original)
+++ common/trunk/src/rtp.c	Fri Jul 27 17:01:42 2007
@@ -2507,7 +2507,7 @@
 	common->count   = 1;
 	common->pt      = RTCP_SDES;
 	common->length  = 0;
-	packet += sizeof(common);
+	packet += sizeof(rtcp_common);
 
 	*((uint32_t *) packet) = htonl(ssrc);
 	packet += 4;
@@ -2851,7 +2851,7 @@
 	common->count   = 1;
 	common->pt      = RTCP_BYE;
 	common->length  = htons(1);
-	ptr += sizeof(common);
+	ptr += sizeof(rtcp_common);
 	
 	*((uint32_t *) ptr) = htonl(session->my_ssrc);  
 	ptr += 4;



More information about the Sumover-dev mailing list