[asterisk-commits] branch oej/test-this-branch r16824 - in
/team/oej/test-this-branch: ./ rtp.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Fri Mar 31 17:11:31 MST 2006
Author: oej
Date: Fri Mar 31 18:11:30 2006
New Revision: 16824
URL: http://svn.digium.com/view/asterisk?rev=16824&view=rev
Log:
Fix bad RTCP calculation
Modified:
team/oej/test-this-branch/ (props changed)
team/oej/test-this-branch/rtp.c
Propchange: team/oej/test-this-branch/
------------------------------------------------------------------------------
automerge = http://edvina.net/training/
Modified: team/oej/test-this-branch/rtp.c
URL: http://svn.digium.com/view/asterisk/team/oej/test-this-branch/rtp.c?rev=16824&r1=16823&r2=16824&view=diff
==============================================================================
--- team/oej/test-this-branch/rtp.c (original)
+++ team/oej/test-this-branch/rtp.c Fri Mar 31 18:11:30 2006
@@ -479,7 +479,7 @@
len = sizeof(sin);
- res = recvfrom(rtp->rtcp->s, rtcpdata + AST_FRIENDLY_OFFSET, sizeof(rtcpdata) - AST_FRIENDLY_OFFSET,
+ res = recvfrom(rtp->rtcp->s, rtcpdata + AST_FRIENDLY_OFFSET, sizeof(rtcpdata) - sizeof(unsigned int) * AST_FRIENDLY_OFFSET,
0, (struct sockaddr *)&sin, &len);
rtcpheader = (unsigned int *)(rtcpdata + AST_FRIENDLY_OFFSET);
More information about the asterisk-commits
mailing list