diff options
author | phintuka <phintuka> | 2009-03-31 10:34:32 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2009-03-31 10:34:32 +0000 |
commit | d1b2dceb98351f6c8d043c21bf9ff22ce2bb248d (patch) | |
tree | aef83675ccd0a629fea96e3ef5ad90d9bfbaca69 | |
parent | 72f06c51994b13d212b5710f8b498e8822dc3fa3 (diff) | |
download | xineliboutput-d1b2dceb98351f6c8d043c21bf9ff22ce2bb248d.tar.gz xineliboutput-d1b2dceb98351f6c8d043c21bf9ff22ce2bb248d.tar.bz2 |
Fixed missing packet range when replying to resend request
-rw-r--r-- | tools/udp_pes_scheduler.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/udp_pes_scheduler.c b/tools/udp_pes_scheduler.c index c9aa9f21..91375806 100644 --- a/tools/udp_pes_scheduler.c +++ b/tools/udp_pes_scheduler.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: udp_pes_scheduler.c,v 1.37 2009-02-10 12:46:10 phintuka Exp $ + * $Id: udp_pes_scheduler.c,v 1.38 2009-03-31 10:34:32 phintuka Exp $ * */ @@ -891,7 +891,7 @@ void cUdpScheduler::ReSend(int fd, uint64_t Pos, int Seq1, int Seq2) ((stream_udp_header_t *)udp_ctrl)->seq); int Seq0 = Seq1; - for(; Seq1 <= Seq2; Seq1++) { + for(; Seq1 < Seq2; Seq1++) { stream_rtp_header_impl_t *frame = m_BackLog->Get(Seq1+1); if(frame && (ntohull(frame->hdr_ext.pos) - Pos < 100000)) break; |