From b264a8bcb8a4ced58eef321b5b5c2c57bad58dd7 Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Sat, 6 Jun 2015 20:28:23 +0200 Subject: [PATCH] Reverted some errorneous fix --- src/rtp/pbuf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rtp/pbuf.c b/src/rtp/pbuf.c index 98e2ec598..6329b83f8 100644 --- a/src/rtp/pbuf.c +++ b/src/rtp/pbuf.c @@ -210,7 +210,7 @@ static void add_coded_unit(struct pbuf_node *node, rtp_packet * pkt) free(pkt); free(tmp); } else { - while (curr != NULL && ((uint16_t)(tmp->seqno - curr->seqno) < 0)){ + while (curr != NULL && ((int16_t)(tmp->seqno - curr->seqno) < 0)){ prv = curr; curr = curr->nxt; }