Browse Source

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

Originally committed as revision 25462 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/n0.8
Martin Storsjö 15 years ago
parent
commit
65cdee9c95
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/rtpdec.c

+ 1
- 1
libavformat/rtpdec.c View File

@@ -652,7 +652,7 @@ static int rtp_parse_one_packet(RTPDemuxContext *s, AVPacket *pkt,
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 {


Loading…
Cancel
Save