aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 61fc38575..158145b75 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) {