freeswitch: bump to 1.10.7
[feed/telephony.git] / net / freeswitch / patches / 420-switch_rtp-report-undeclared.patch
1 --- a/src/switch_rtp.c
2 +++ b/src/switch_rtp.c
3 @@ -2155,7 +2155,7 @@ static void switch_send_rtcp_event(switc
4 switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, header, value);
5 snprintf(header, sizeof(header), "Source-Lost");
6 #if SWITCH_BYTE_ORDER == __BIG_ENDIAN
7 - tmpLost = report->lost; /* signed 24bit will extended signess to int32_t automatically */
8 + tmpLost = rtcp_report_block->lost; /* signed 24bit will extended signess to int32_t automatically */
9 #else
10 tmpLost = ntohl(rtcp_report_block->lost)>>8;
11 tmpLost = tmpLost | ((tmpLost & 0x00800000) ? 0xff000000 : 0x00000000); /* ...and signess compensation */