fix typo when using sizeof() to determine the size of the RTCP header
This was spotted by zecke, thanks.
This commit is contained in:
parent
9e527ce662
commit
198f3f559d
|
@ -68,7 +68,7 @@ static int rtcp_sdes_cname_mangle(struct msgb *msg, struct rtcp_hdr *rh,
|
|||
|
||||
rtcp_end = cur + *rtcp_len;
|
||||
/* move cur to end of RTP header */
|
||||
cur += sizeof(rh);
|
||||
cur += sizeof(*rh);
|
||||
|
||||
/* iterate over Chunks */
|
||||
while (cur+4 < rtcp_end) {
|
||||
|
|
Loading…
Reference in New Issue