[vlc-devel] commit: RTP: fix simultaneous sequence number wrap and re-order ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sun Jul 19 18:48:04 CEST 2009
vlc | branch: 1.0-bugfix | Rémi Denis-Courmont <remi at remlab.net> | Sun Jul 19 19:45:52 2009 +0300| [3e254a1a19786239277c8d221149b44bd0ad3041] | committer: Rémi Denis-Courmont
RTP: fix simultaneous sequence number wrap and re-order
(cherry picked from commit 84fe2cd5a81a30fa97830df9d6f1becffa38295b)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3e254a1a19786239277c8d221149b44bd0ad3041
---
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 430f328..c3a314b 100644
--- a/modules/access/rtp/session.c
+++ b/modules/access/rtp/session.c
@@ -319,7 +319,7 @@ rtp_queue (demux_t *demux, rtp_session_t *session, block_t *block)
/* Check sequence number */
/* NOTE: the sequence number is per-source,
* but is independent from the payload type. */
- int delta_seq = seq - src->max_seq;
+ int16_t delta_seq = seq - src->max_seq;
if ((delta_seq > 0) ? (delta_seq > p_sys->max_dropout)
: (-delta_seq > p_sys->max_misorder))
{
More information about the vlc-devel
mailing list