[FFmpeg-devel] [PATCH 5/8] ffmdec: break infinite resync loop

Andreas Cadhalpun andreas.cadhalpun at googlemail.com
Mon Mar 9 15:14:50 CET 2015

On 09.03.2015 13:59, Michael Niedermayer wrote:
> i was thinking more about limiting the backward seek before resync
> to the last resync position +1 if there was a previous resync
> so that resync which moves forward could not end before. This would
> avoid the failure and allow the demuxer to continue, or at least thats
> the idea

I see, new patch attached.
The +1 is not necessary, because it always reads the PACKET_ID field 
before resyncing.

Best regards,

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ffmdec-limit-the-backward-seek-to-the-last-resync-po.patch
Type: text/x-diff
Size: 2158 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150309/fc88de49/attachment.bin>

More information about the ffmpeg-devel mailing list