aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmux.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/osmux.c')
-rw-r--r--src/osmux.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/osmux.c b/src/osmux.c
index 61e3fc4..9288464 100644
--- a/src/osmux.c
+++ b/src/osmux.c
@@ -400,9 +400,8 @@ static void osmux_replay_lost_packets(struct batch_list_node *node,
memcpy(clone->data, last->data, last->len);
msgb_put(clone, last->len);
+ /* The original RTP message has been already sanity check. */
rtph = osmo_rtp_get_hdr(clone);
- if (rtph == NULL)
- return;
/* Adjust sequence number and timestamp */
rtph->sequence = htons(ntohs(rtph->sequence) + i);