[FFmpeg-devel] [PATCH] Prevent infinite loop in mlpdec.c
Michael Niedermayer
michaelni
Thu Jun 26 21:50:51 CEST 2008
On Thu, Jun 26, 2008 at 08:29:38PM +0100, Ramiro Polla wrote:
> Hello,
>
> Attached patches prevent an infinite loop in the MLP parser if a major
> header is corrupt.
instead of your patches does
lost_sync:
mp->in_sync = 0;
- return -1;
+ return 1;
}
work as well?
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Everything should be made as simple as possible, but not simpler.
-- Albert Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080626/e0d019ee/attachment.pgp>
More information about the ffmpeg-devel
mailing list