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

Michael Niedermayer michaelni
Tue Jun 16 22:11:26 CEST 2009


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

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

it is not once nor twice but times without number that the same ideas make
their appearance in the world. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090616/2381739f/attachment.pgp>



More information about the ffmpeg-devel mailing list