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

Stefano Sabatini stefano.sabatini-lala
Mon Jun 15 01:16:09 CEST 2009


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.

Regards.
-- 
FFmpeg = Foolish & Faboulous Maxi Pitiful Exuberant God
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg-loglevel.patch
Type: text/x-diff
Size: 2391 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090615/ebb089b5/attachment.patch>



More information about the ffmpeg-devel mailing list