[vlc-devel] commit: RTP: fix re-ordering across sequence number wrap ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sat Sep 5 10:40:58 CEST 2009
vlc | branch: 1.0-bugfix | Rémi Denis-Courmont <remi at remlab.net> | Sat Sep 5 11:39:21 2009 +0300| [060de331e0504eedbdded978106598cc20c68414] | committer: Rémi Denis-Courmont
RTP: fix re-ordering across sequence number wrap
Pointed-out-by: Marian Ďurkovič <md at bts.sk>
(cherry picked from commit 7058cb6fd4d1706009746590b7b12b7bfaed119b)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=060de331e0504eedbdded978106598cc20c68414
---
modules/access/rtp/session.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/access/rtp/session.c b/modules/access/rtp/session.c
index c3a314b..7fa75be 100644
--- a/modules/access/rtp/session.c
+++ b/modules/access/rtp/session.c
@@ -348,7 +348,7 @@ rtp_queue (demux_t *demux, rtp_session_t *session, block_t *block)
block_t **pp = &src->blocks;
for (block_t *prev = *pp; prev != NULL; prev = *pp)
{
- int delta_seq = seq - rtp_seq (prev);
+ int16_t delta_seq = seq - rtp_seq (prev);
if (delta_seq < 0)
break;
if (delta_seq == 0)
More information about the vlc-devel
mailing list