9 typedef struct AVCLASS AVClass;
11 const char* class_name;
12 const char* (*item_name)(void*); /* actually passing a pointer to an AVCodecContext
13 or AVFormatContext, which begin with an AVClass.
14 Needed because av_log is in libavcodec and has no visibility
15 of AVIn/OutputFormat */
16 struct AVOption *option;
21 #define AV_LOG_QUIET -1
22 #define AV_LOG_ERROR 0
24 #define AV_LOG_DEBUG 2
25 extern int av_log_level;
28 extern void av_log(void*, int level, const char *fmt, ...) __attribute__ ((__format__ (__printf__, 3, 4)));
30 extern void av_log(void*, int level, const char *fmt, ...);
33 #if LIBAVUTIL_VERSION_INT < (50<<16)
34 extern void av_vlog(void*, int level, const char *fmt, va_list);
35 extern int av_log_get_level(void);
36 extern void av_log_set_level(int);
37 extern void av_log_set_callback(void (*)(void*, int, const char*, va_list));
39 extern void (*av_vlog)(void*, int, const char*, va_list);