[vlc-devel] [PATCH] MJPEG demuxer : Avoid useless operations
Jean-Baptiste Kempf
jb at videolan.org
Sun Mar 29 18:31:34 CEST 2009
On Wed, Mar 18, 2009 at 05:55:54PM +0100, Sébastien Escudier wrote :
> On Wed, 2009-03-18 at 18:46 +0200, Rémi Denis-Courmont wrote:
> > Le mercredi 18 mars 2009 17:51:15 Sébastien Escudier, vous avez écrit :
> > > MJPEG demuxer : Avoid useless operations
> >
> > This code is so convoluted that I don't understand what it does. Anyone?
> >
> do you mean GetLine function or the while loop I changed ?
> The while loop is looking for a char in p_sys->p_peek buffer.
> If it reaches the end of the buffer it calls Peek( p_demux, false ) to
> get more data in it.
Status for this patch?
Best Regards,
--
Jean-Baptiste Kempf
http://www.jbkempf.com/
More information about the vlc-devel
mailing list