[FFmpeg-devel] [PATCH] nutdec: fix possible infinite loop when resyncing (repost)

Michael Niedermayer michaelni
Mon May 21 15:06:41 CEST 2007


On Mon, May 21, 2007 at 08:59:04AM +0200, Clemens Ladisch wrote:
> When nut_read_packet() tries to resync after an error, it restarts
> decoding at the next startcode after the last syncpoint.  When there was
> another packet between that syncpoint and the error position, the error
> position will eventually be reached again and nut_read_packet() will
> loop forever.
> This can be fixed by syncing only to syncpoints.  (This is always
> correct because a syncpoint must occur before any sequence of frames.)

please dont repost patches but rather send a reply to the thread where
the patch was posted this makes it much easier to look up the related

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I do not agree with what you have to say, but I'll defend to the death your
right to say it. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070521/c6cd34b8/attachment.pgp>

More information about the ffmpeg-devel mailing list