Browse Source

rtcp_rr: fix -Werror

master
Christophe Massiot 8 years ago
parent
commit
515810346f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ietf/rtcp_rr.h

+ 1
- 1
ietf/rtcp_rr.h View File

@ -43,7 +43,7 @@ static inline void rtcp_rr_set_cumulative_packets_lost(uint8_t *p_rtcp_rr,
int neg = packets_lost < 0;
uint32_t u = neg ? -packets_lost : packets_lost;
p_rtcp_rr[13] = (neg << 7) | (u >> 16) & 0x7f;
p_rtcp_rr[13] = (neg << 7) | ((u >> 16) & 0x7f);
p_rtcp_rr[14] = (u >> 8) & 0xff;
p_rtcp_rr[15] = u & 0xff;
}

Loading…
Cancel
Save