[Ffmpeg-devel] [PATCH] nutdec: fix infinite loop when resyncing
Wed Feb 28 03:31:05 CET 2007
On Tue, Feb 27, 2007 at 06:13:40PM +0100, 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.
or starting from the last startcode, which may loose less before the
next syncpoint starcode
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Those who are too smart to engage in politics are punished by being
governed by those who are dumber. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
More information about the ffmpeg-devel