[FFmpeg-devel] [PATCH] Fix potential infinite discard loop.

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sun Feb 5 15:59:08 CET 2012

On Sun, Feb 05, 2012 at 03:40:33PM +0100, Michael Niedermayer wrote:
> On Sun, Feb 05, 2012 at 03:36:21PM +0100, Reimar Döffinger wrote:
> > On Sun, Feb 05, 2012 at 03:11:25PM +0100, Reimar Döffinger wrote:
> > > The alternative is to make read_timestamps parse every single
> > > packet manually and just ignore what the demuxer claims it to
> > > be (though with printing a big fat warning every time it's wrong).
> > 
> > As in attached, but only for theora.
> > I guess you can imagine what kind of mess that becomes if you have
> > to add such a piece of code for every single codec know to man.
> we only need to for every single video codec known to ogg, which
> should be quite a bit less.

Oh, also, with the ogm encapsulation that is every codec that can
be put into AVI. Though the problem might not exist for those,
since they were forced to follow AVI they didn't have so much chance
to mess it up beyond that. (and ogm is not official anyway I admit).

More information about the ffmpeg-devel mailing list