commit | 6977a2950545f18b7b196ba051a24625b471ce98 | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@gnumonks.org> | Wed Jul 29 10:46:41 2009 +0200 |
committer | Harald Welte <laforge@gnumonks.org> | Wed Jul 29 10:47:28 2009 +0200 |
tree | 3c9007e4ea205b5d38125f17784ef3079b67bc13 | |
parent | bbbdd289daad551ed7569afa4fdf6a603065709f [diff] [blame] |
fix typo when using sizeof() to determine the size of the RTCP header This was spotted by zecke, thanks.
diff --git a/openbsc/src/rtp_proxy.c b/openbsc/src/rtp_proxy.c index 61fc385..158145b 100644 --- a/openbsc/src/rtp_proxy.c +++ b/openbsc/src/rtp_proxy.c
@@ -68,7 +68,7 @@ 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) {