提交 65cdee9c 编写于 作者: M Martin Storsjö

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
上级 ddcf8411
......@@ -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 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册