[vlc-devel] [PATCH] MJPEG demuxer : Avoid useless operations
sebastien-devel at celeos.eu
Wed Mar 18 17:55:54 CET 2009
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.
More information about the vlc-devel