fix typo when using sizeof() to determine the size of the RTCP header

This was spotted by zecke, thanks.
This commit is contained in:
Harald Welte 2009-07-29 10:46:41 +02:00
parent 9e527ce662
commit 198f3f559d
1 changed files with 1 additions and 1 deletions

View File

@ -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) {