[FFmpeg-cvslog] lavu: Drop deprecated av_dlog macro

Vittorio Giovara git at videolan.org
Tue Oct 24 00:20:46 EEST 2017


ffmpeg | branch: master | Vittorio Giovara <vittorio.giovara at gmail.com> | Thu Mar 16 15:30:58 2017 -0400| [35cf146a33ce41a1adb6c9bd5a0827eacb1b6bfc] | committer: Vittorio Giovara

lavu: Drop deprecated av_dlog macro

Deprecated in 05/2015.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=35cf146a33ce41a1adb6c9bd5a0827eacb1b6bfc
---

 libavutil/log.h     | 14 --------------
 libavutil/version.h |  3 ---
 2 files changed, 17 deletions(-)

diff --git a/libavutil/log.h b/libavutil/log.h
index d4daea9c1a..ce00bccc7b 100644
--- a/libavutil/log.h
+++ b/libavutil/log.h
@@ -249,20 +249,6 @@ void av_log_default_callback(void *avcl, int level, const char *fmt,
  */
 const char* av_default_item_name(void* ctx);
 
-#if FF_API_DLOG
-/**
- * av_dlog macros
- * @deprecated unused
- * Useful to print debug messages that shouldn't get compiled in normally.
- */
-
-#ifdef DEBUG
-#    define av_dlog(pctx, ...) av_log(pctx, AV_LOG_DEBUG, __VA_ARGS__)
-#else
-#    define av_dlog(pctx, ...)
-#endif
-#endif /* FF_API_DLOG */
-
 /**
  * Skip repeated messages, this requires the user app to use av_log() instead of
  * (f)printf as the 2 would otherwise interfere and lead to
diff --git a/libavutil/version.h b/libavutil/version.h
index d11e8d10f2..b8425ea2c8 100644
--- a/libavutil/version.h
+++ b/libavutil/version.h
@@ -78,9 +78,6 @@
  * @{
  */
 
-#ifndef FF_API_DLOG
-#define FF_API_DLOG                     (LIBAVUTIL_VERSION_MAJOR < 56)
-#endif
 #ifndef FF_API_CRYPTO_CONTEXT
 #define FF_API_CRYPTO_CONTEXT           (LIBAVUTIL_VERSION_MAJOR < 57)
 #endif



More information about the ffmpeg-cvslog mailing list