aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/bufferqueue.h
diff options
context:
space:
mode:
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2015-05-20 00:06:05 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-06-17 21:50:08 +0200
commit9414358f15863d1fdd343be9bb0d7205867e9eb3 (patch)
tree295ab6906290063dccf52d0068e41690aa1489dc /libavfilter/bufferqueue.h
parentfe1e6b919d8d3145c163fde456edcfad1ac13cfc (diff)
downloadffmpeg-9414358f15863d1fdd343be9bb0d7205867e9eb3.tar.gz
nutdec: fix infinite resync loops
nut->last_syncpoint_pos doesn't necessarily change between resync attempts, so find_any_startcode can return the same startcode again. Thus remember where the last resync happened and don't try to resync before that. This can't be done locally in nut_read_packet, because this wouldn't prevent infinite resync loops, where after the resync a packet is returned and while reading a following packet the resync happens again. Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> (cherry picked from commit 37e679881d364b6da817d829d35869d657218ab3) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/bufferqueue.h')
0 files changed, 0 insertions, 0 deletions