]> git.sesse.net Git - ffmpeg/commitdiff
Move ff_dlog from lavc to lavu.
authorRonald S. Bultje <rsbultje@gmail.com>
Tue, 18 Aug 2015 00:27:25 +0000 (20:27 -0400)
committerRonald S. Bultje <rsbultje@gmail.com>
Tue, 18 Aug 2015 13:46:49 +0000 (09:46 -0400)
libavcodec/internal.h
libavutil/internal.h

index 0daf6695e6804c40ffd6af25421d892759f6f0e5..f93a196483f1ef32b6ead7a913945a7d261e0913 100644 (file)
 #define FF_CODEC_CAP_INIT_CLEANUP           (1 << 1)
 
 
-#ifdef DEBUG
-#   define ff_dlog(ctx, ...) av_log(ctx, AV_LOG_DEBUG, __VA_ARGS__)
-#else
-#   define ff_dlog(ctx, ...) do { if (0) av_log(ctx, AV_LOG_DEBUG, __VA_ARGS__); } while (0)
-#endif
-
 #ifdef TRACE
 #   define ff_tlog(ctx, ...) av_log(ctx, AV_LOG_TRACE, __VA_ARGS__)
 #else
index a46b2b15cecd3bc81c3597d900d7b564f4893a3f..047f742e5a9845117af3555fda5637a5562eb80a 100644 (file)
@@ -250,6 +250,12 @@ void avpriv_request_sample(void *avc,
 #define SIZE_SPECIFIER "zu"
 #endif
 
+#ifdef DEBUG
+#   define ff_dlog(ctx, ...) av_log(ctx, AV_LOG_DEBUG, __VA_ARGS__)
+#else
+#   define ff_dlog(ctx, ...) do { if (0) av_log(ctx, AV_LOG_DEBUG, __VA_ARGS__); } while (0)
+#endif
+
 /**
  * A wrapper for open() setting O_CLOEXEC.
  */