diff options
author | Clément Bœsch <u@pkh.me> | 2016-06-21 22:24:30 +0200 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2016-06-21 22:24:30 +0200 |
commit | 4873952f886b718810e5ecf2ef26ca53173e9935 (patch) | |
tree | 7a2d0d1de603d148d903818ca3923381e5989d8b /libavformat/rtpdec.c | |
parent | 91450cda2ee112c45e5c7ce1dd5651b811ecad8c (diff) | |
parent | 9ea78fd00a49f0691c1a5134eb59d4e5bb380a2a (diff) | |
download | ffmpeg-4873952f886b718810e5ecf2ef26ca53173e9935.tar.gz |
Merge commit '9ea78fd00a49f0691c1a5134eb59d4e5bb380a2a'
* commit '9ea78fd00a49f0691c1a5134eb59d4e5bb380a2a':
rtpdec: Always check if we have the next packet queued
Merged-by: Clément Bœsch <u@pkh.me>
Diffstat (limited to 'libavformat/rtpdec.c')
-rw-r--r-- | libavformat/rtpdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtpdec.c b/libavformat/rtpdec.c index eef61608ab..786be9f3bc 100644 --- a/libavformat/rtpdec.c +++ b/libavformat/rtpdec.c @@ -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); } |