diff options
author | Martin Storsjö <martin@martin.st> | 2013-01-07 18:39:04 +0200 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2013-01-12 19:34:40 +0100 |
commit | 808187965570012cca99a7c0fdf1d93652947285 (patch) | |
tree | 864e00cf48f2b7ba099f0cb53593a9987c05662c /libavformat/spdifenc.c | |
parent | a39c6bf1b878f6667697225299707ef08a9482c8 (diff) | |
download | ffmpeg-808187965570012cca99a7c0fdf1d93652947285.tar.gz |
rtsp: Recheck the reordering queue if getting a new packet
If we timed out and consumed a packet from the reordering queue,
but didn't return a packet to the caller, recheck the queue status.
Otherwise, we could end up in an infinite loop, trying to consume
a queued packet that has already been consumed.
CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
(cherry picked from commit 8729698d50739524665090e083d1bfdf28235724)
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
Diffstat (limited to 'libavformat/spdifenc.c')
0 files changed, 0 insertions, 0 deletions