[Ffmpeg-devel] [PATCH] uninstall custom log callback

Axel Holzinger aholzinger
Thu Jan 11 22:11:38 CET 2007


Hi Michael,

> On Thu, Jan 11, 2007 at 09:10:00PM +0100, Michael Niedermayer wrote:
> Hi
>
> On Thu, Jan 11, 2007 at 04:54:56PM +0100, Axel Holzinger wrote:
> > Hi,
> >
> > here a mini patch that enables av_log_set_callback to uninstall
> a previously
> > installed custom log callback.
> >
> > If a null pointer is supplied, the default log callback is restored.
>
> rejected
>
> use av_log_set_callback(av_log_default_callback);

Answer rejected ;-)

I would use it like this, but this is the proto:
static void av_log_default_callback(void* ptr, int level, const char* fmt,
va_list vl);

As you see, av_log_default_callback is static and thus invisible.

Cheers Axel





More information about the ffmpeg-devel mailing list