Commit 4873952f authored by Clément Bœsch's avatar Clément Bœsch

Merge commit '9ea78fd0'

* commit '9ea78fd0':
  rtpdec: Always check if we have the next packet queued
Merged-by: 's avatarClément Bœsch <u@pkh.me>
parents 91450cda 9ea78fd0
......@@ -845,7 +845,7 @@ int ff_rtp_parse_packet(RTPDemuxContext *s, AVPacket *pkt,
return -1;
rv = rtp_parse_one_packet(s, pkt, bufptr, len);
s->prev_ret = rv;
while (rv == AVERROR(EAGAIN) && has_next_packet(s))
while (rv < 0 && has_next_packet(s))
rv = rtp_parse_queued_packet(s, pkt);
return rv ? rv : has_next_packet(s);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment