Commit 840ca6f8 authored by michael's avatar michael

av_default_item_name() so Simply AVClasses need 1 function less.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@23198 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 08cfeb70
......@@ -55,6 +55,10 @@ static void colored_fputs(int color, const char *str){
}
}
const char* av_default_item_name(void* ptr){
return (*(AVClass**)ptr)->class_name;
}
void av_log_default_callback(void* ptr, int level, const char* fmt, va_list vl)
{
static int print_prefix=1;
......
......@@ -125,5 +125,6 @@ int av_log_get_level(void);
void av_log_set_level(int);
void av_log_set_callback(void (*)(void*, int, const char*, va_list));
void av_log_default_callback(void* ptr, int level, const char* fmt, va_list vl);
const char* av_default_item_name(void* ctx);
#endif /* AVUTIL_LOG_H */
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