summaryrefslogtreecommitdiffstats
path: root/openbsc
diff options
context:
space:
mode:
Diffstat (limited to 'openbsc')
-rw-r--r--openbsc/src/rtp_proxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/rtp_proxy.c b/openbsc/src/rtp_proxy.c
index d924aab5f..a581b9fdf 100644
--- a/openbsc/src/rtp_proxy.c
+++ b/openbsc/src/rtp_proxy.c
@@ -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) {