[FFmpeg-cvslog] r25462 - trunk/libavformat/rtpdec.c

mstorsjo subversion
Wed Oct 13 10:47:34 CEST 2010


Author: mstorsjo
Date: Wed Oct 13 10:47:34 2010
New Revision: 25462

Log:
rtpdec: Don't use the no reordering codepath if there already is a queue

Modified:
   trunk/libavformat/rtpdec.c

Modified: trunk/libavformat/rtpdec.c
==============================================================================
--- trunk/libavformat/rtpdec.c	Wed Oct 13 10:15:39 2010	(r25461)
+++ trunk/libavformat/rtpdec.c	Wed Oct 13 10:47:34 2010	(r25462)
@@ -652,7 +652,7 @@ static int rtp_parse_one_packet(RTPDemux
         return rtcp_parse_packet(s, buf, len);
     }
 
-    if (s->seq == 0 || s->queue_size <= 1) {
+    if ((s->seq == 0 && !s->queue) || s->queue_size <= 1) {
         /* First packet, or no reordering */
         return rtp_parse_packet_internal(s, pkt, buf, len);
     } else {



More information about the ffmpeg-cvslog mailing list