summaryrefslogtreecommitdiff
path: root/libavutil/log.h
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2007-12-12 21:48:50 +0000
committerMåns Rullgård <mans@mansr.com>2007-12-12 21:48:50 +0000
commita309073bf44e58868e4124900ddcecc2aefbdf3b (patch)
treeca934d627e3d6551416fce079bc56d6768e30491 /libavutil/log.h
parent0bc308de56947f2f8580b974ee8631b27a726cd6 (diff)
use av_log_get/set_level()
Originally committed as revision 11209 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/log.h')
-rw-r--r--libavutil/log.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/libavutil/log.h b/libavutil/log.h
index 243037239d..5d18197efb 100644
--- a/libavutil/log.h
+++ b/libavutil/log.h
@@ -81,7 +81,10 @@ struct AVCLASS {
*/
#define AV_LOG_DEBUG 48
#endif
+
+#if LIBAVUTIL_VERSION_INT < (50<<16)
extern int av_log_level;
+#endif
/**
* Send the specified message to the log if the level is less than or equal to
@@ -103,14 +106,10 @@ extern void av_log(void*, int level, const char *fmt, ...) __attribute__ ((__for
extern void av_log(void*, int level, const char *fmt, ...);
#endif
-#if LIBAVUTIL_VERSION_INT < (50<<16)
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
#endif /* FFMPEG_LOG_H */