[FFmpeg-devel] [PATCH] Set loglevel with strings in ffmpeg.c.

Stefano Sabatini stefano.sabatini-lala
Wed Jun 17 01:07:47 CEST 2009


On date Tuesday 2009-06-16 22:11:26 +0200, Michael Niedermayer encoded:
> On Mon, Jun 15, 2009 at 01:16:09AM +0200, Stefano Sabatini wrote:
> > On date Sunday 2009-06-14 19:38:07 -0300, Ramiro Polla encoded:
> > > On Sun, Jun 14, 2009 at 7:20 PM, Stefano
> > [...]
> > > > Check attached.
> > > 
> > > > +            level = log_levels[i].level;
> > > > +            av_log_set_level(level);
> > > > +            return 0;
> > > 
> > > av_log_set_level(log_levels[i].level);
> > > 
> > > And I see now that on other parts of ffmpeg.c, it calls the second
> > > parameter of strtol *tail, and not *endptr like I called it. Better
> > > use *tail for consistency.
> > 
> > Yes it's better.
> 
> ok

Applied.
-- 
FFmpeg = Funny and Fantastic Murdering Programmable Empowered Guru



More information about the ffmpeg-devel mailing list