aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@gnumonks.org>2012-08-06 18:49:05 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2012-08-06 21:04:25 +0200
commitda0c9ab92211ff09b4fee402f3ed88c2f718ba37 (patch)
tree41e3327dd8364bed20ac560279f240d8d5c74903 /src
parent468d81b4ac3ce5d07d81857551dc00681a752f38 (diff)
osmux: fix wrong calculation of csrc_count
Diffstat (limited to 'src')
-rw-r--r--src/osmux.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/osmux.c b/src/osmux.c
index ec3afa3..9f8e25c 100644
--- a/src/osmux.c
+++ b/src/osmux.c
@@ -69,8 +69,7 @@ osmux_rebuild_rtp(struct osmux_out_handle *h,
/* Reconstruct RTP header */
rtph = (struct rtp_hdr *)out_msg->data;
- rtph->csrc_count = (sizeof(struct amr_hdr) +
- osmo_amr_bytes(osmuxh->amr_cmr)) >> 2;
+ rtph->csrc_count = 0;
rtph->extension = 0;
rtph->version = RTP_VERSION;
rtph->payload_type = 98;