diff options
Diffstat (limited to 'libavutil/log.c')
-rw-r--r-- | libavutil/log.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavutil/log.c b/libavutil/log.c index 547287fc29..87a1edaffb 100644 --- a/libavutil/log.c +++ b/libavutil/log.c @@ -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; |