diff options
author | Måns Rullgård <mans@mansr.com> | 2007-12-13 00:48:50 +0300 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2007-12-13 00:48:50 +0300 |
commit | a309073bf44e58868e4124900ddcecc2aefbdf3b (patch) | |
tree | ca934d627e3d6551416fce079bc56d6768e30491 /libavutil/log.c | |
parent | 0bc308de56947f2f8580b974ee8631b27a726cd6 (diff) |
use av_log_get/set_level()
Originally committed as revision 11209 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/log.c')
-rw-r--r-- | libavutil/log.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libavutil/log.c b/libavutil/log.c index 4fd503d0de..fed0ce80a0 100644 --- a/libavutil/log.c +++ b/libavutil/log.c @@ -45,11 +45,7 @@ void av_log_default_callback(void* ptr, int level, const char* fmt, va_list vl) vfprintf(stderr, fmt, vl); } -#if LIBAVUTIL_VERSION_INT < (50<<16) static void (*av_log_callback)(void*, int, const char*, va_list) = av_log_default_callback; -#else -void (*av_vlog)(void*, int, const char*, va_list) = av_log_default_callback; -#endif void av_log(void* avcl, int level, const char *fmt, ...) { @@ -59,7 +55,6 @@ void av_log(void* avcl, int level, const char *fmt, ...) va_end(vl); } -#if LIBAVUTIL_VERSION_INT < (50<<16) void av_vlog(void* avcl, int level, const char *fmt, va_list vl) { av_log_callback(avcl, level, fmt, vl); @@ -79,4 +74,3 @@ void av_log_set_callback(void (*callback)(void*, int, const char*, va_list)) { av_log_callback = callback; } -#endif |