[FFmpeg-cvslog] r25461 - trunk/libavformat/rtpdec.c
mstorsjo
subversion
Wed Oct 13 10:15:40 CEST 2010
Author: mstorsjo
Date: Wed Oct 13 10:15:39 2010
New Revision: 25461
Log:
rtpdec: Handle wrapping seq numbers in has_next_packet properly
Modified:
trunk/libavformat/rtpdec.c
Modified: trunk/libavformat/rtpdec.c
==============================================================================
--- trunk/libavformat/rtpdec.c Wed Oct 13 10:14:30 2010 (r25460)
+++ trunk/libavformat/rtpdec.c Wed Oct 13 10:15:39 2010 (r25461)
@@ -574,7 +574,7 @@ static void enqueue_packet(RTPDemuxConte
static int has_next_packet(RTPDemuxContext *s)
{
- return s->queue && s->queue->seq == s->seq + 1;
+ return s->queue && s->queue->seq == (uint16_t) (s->seq + 1);
}
int64_t ff_rtp_queued_packet_time(RTPDemuxContext *s)
More information about the ffmpeg-cvslog
mailing list