FFmpeg/libavformat
Andreas Cadhalpun 37e679881d 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>
2015-05-20 19:07:26 +02:00
..
2014-12-18 00:10:35 +01:00
2015-04-07 22:50:07 +02:00
2015-03-27 18:29:46 +01:00
2015-03-06 21:35:00 +01:00
2015-02-26 02:06:10 +01:00
2015-03-26 03:10:27 +01:00
2015-01-30 09:33:49 +00:00
2015-05-20 19:07:26 +02:00
2015-05-20 19:07:26 +02:00
2014-12-18 23:27:07 +01:00
2014-12-20 00:17:43 +01:00
2015-01-18 00:36:56 +01:00
2015-04-23 12:56:31 +02:00
2015-02-01 20:00:10 +01:00
2015-03-27 18:29:46 +01:00
2015-01-11 00:35:01 +01:00
2015-01-11 00:35:01 +01:00
2015-04-24 03:43:56 +02:00
2015-04-11 13:51:03 +02:00