[vlc-devel] commit: RTP: fix sequence tracking ( Rémi Denis-Courmont )

git version control git at videolan.org
Sat Jun 7 17:00:54 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sat Jun  7 17:31:57 2008 +0300| [ce5b2bb75fa980d1b0c47c2ce4f8020170113c83]

RTP: fix sequence tracking

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ce5b2bb75fa980d1b0c47c2ce4f8020170113c83
---

 modules/demux/rtpsession.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/modules/demux/rtpsession.c b/modules/demux/rtpsession.c
index 77266c9..4e10081 100644
--- a/modules/demux/rtpsession.c
+++ b/modules/demux/rtpsession.c
@@ -288,6 +288,9 @@ rtp_receive (demux_t *demux, rtp_session_t *session, block_t *block)
             goto drop;
         }
     }
+    else
+    if (delta_seq < 0x8000)
+        src->max_seq = seq;
 
     /* Queues the block in sequence order,
      * hence there is a single queue for all payload types. */




More information about the vlc-devel mailing list