[FFmpeg-devel] [PATCH 2/3] Move log_callback_help to cmdutils.[hc], for allowing sharing.

Stefano Sabatini stefano.sabatini-lala
Mon Sep 20 23:47:55 CEST 2010


On date Monday 2010-09-20 22:02:14 +0200, Michael Niedermayer encoded:
> On Mon, Sep 20, 2010 at 09:12:45PM +0200, Stefano Sabatini wrote:
> > ---
> >  cmdutils.c |    5 +++++
> >  cmdutils.h |    6 ++++++
> >  ffmpeg.c   |    9 ---------
> >  3 files changed, 11 insertions(+), 9 deletions(-)
> 
> [...]
> > --- a/cmdutils.h
> > +++ b/cmdutils.h
> > @@ -45,6 +45,12 @@ extern AVFormatContext *avformat_opts;
> >  extern struct SwsContext *sws_opts;
> >  
> >  /**
> > + * Trivial log callback.
> > + * Only suitable for show_help and similar since it lacks prefix handling.
> > + */
> > +void log_callback_help(void* ptr, int level, const char* fmt, va_list vl);
> 
> patch ok but this dox should be improved it says nothing of any use.
> One doesnt even know how this functions differs from the default callback if
> at all

Applied.
-- 
FFmpeg = Free and Fast Mega Puristic Elfic Gorilla



More information about the ffmpeg-devel mailing list