]> git.sesse.net Git - ffmpeg/commit
rtpdec: Always check if we have the next packet queued
authorMartin Storsjö <martin@martin.st>
Mon, 14 Jan 2013 15:48:26 +0000 (17:48 +0200)
committerMartin Storsjö <martin@martin.st>
Wed, 11 May 2016 07:35:01 +0000 (10:35 +0300)
commit9ea78fd00a49f0691c1a5134eb59d4e5bb380a2a
tree2c4ebcbeea33dceba8df499c3fdc8ab8de0668fc
parent0c1d66a07917602303f129f5a5651faeec2415d5
rtpdec: Always check if we have the next packet queued

It doesn't matter what the actual reason for not returning
an AVPacket was - if we didn't return any packet and we have
the next one queued, parse it immediately. (rtp_parse_queued_packet
always consumes a queued packet if one exists, so there's no risk
for infinite loops.)

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/rtpdec.c