[FFmpeg-cvslog] r25460 - trunk/libavformat/rtpdec.c
mstorsjo
subversion
Wed Oct 13 10:14:30 CEST 2010
Author: mstorsjo
Date: Wed Oct 13 10:14:30 2010
New Revision: 25460
Log:
rtpdec: Parse the next packet in the sequence if it is available, if the previous packet didn't return any data
Modified:
trunk/libavformat/rtpdec.c
Modified: trunk/libavformat/rtpdec.c
==============================================================================
--- trunk/libavformat/rtpdec.c Wed Oct 13 10:13:53 2010 (r25459)
+++ trunk/libavformat/rtpdec.c Wed Oct 13 10:14:30 2010 (r25460)
@@ -694,6 +694,8 @@ int rtp_parse_packet(RTPDemuxContext *s,
{
int rv = rtp_parse_one_packet(s, pkt, bufptr, len);
s->prev_ret = rv;
+ while (rv == AVERROR(EAGAIN) && has_next_packet(s))
+ rv = rtp_parse_queued_packet(s, pkt);
return rv ? rv : has_next_packet(s);
}
More information about the ffmpeg-cvslog
mailing list