Commit f1fe75f5 authored by gpoirier's avatar gpoirier

Allow to uninstall a custom log callback

patch by Axel Holzinger % aholzinger A gmx P de %
original thread:
date: Jan 11, 2007 4:54 PM	 
subject: [Ffmpeg-devel] [PATCH] uninstall custom log callback


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@7446 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent a7740b3c
......@@ -28,7 +28,7 @@
int av_log_level = AV_LOG_INFO;
static void av_log_default_callback(void* ptr, int level, const char* fmt, va_list vl)
void av_log_default_callback(void* ptr, int level, const char* fmt, va_list vl)
{
static int print_prefix=1;
AVClass* avc= ptr ? *(AVClass**)ptr : NULL;
......
......@@ -55,6 +55,7 @@ extern void av_vlog(void*, int level, const char *fmt, va_list);
extern int av_log_get_level(void);
extern void av_log_set_level(int);
extern void av_log_set_callback(void (*)(void*, int, const char*, va_list));
extern void av_log_default_callback(void* ptr, int level, const char* fmt, va_list vl);
#else
extern void (*av_vlog)(void*, int, const char*, va_list);
#endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment