[vlc-devel] commit: RTP: fix packet re-ordering ( Rémi Denis-Courmont )

git version control git at videolan.org
Sun Jun 8 15:30:51 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sun Jun  8 16:31:00 2008 +0300| [53acc52072e1aed06c67e9fb721f54eed2c49391]

RTP: fix packet re-ordering

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

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

diff --git a/modules/demux/rtpsession.c b/modules/demux/rtpsession.c
index 4e10081..8339f26 100644
--- a/modules/demux/rtpsession.c
+++ b/modules/demux/rtpsession.c
@@ -297,7 +297,7 @@ rtp_receive (demux_t *demux, rtp_session_t *session, block_t *block)
     block_t **pp = &src->blocks;
     for (block_t *prev = *pp; prev != NULL; prev = *pp)
     {
-        if ((int16_t)(seq - rtp_seq (*pp)) >= 0)
+        if ((int16_t)(seq - rtp_seq (*pp)) < 0)
             break;
         pp = &prev->p_next;
     }




More information about the vlc-devel mailing list