Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/internal.h')
-rw-r--r--libavcodec/internal.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/libavcodec/internal.h b/libavcodec/internal.h
index 38630eebcb..38108b4b6e 100644
--- a/libavcodec/internal.h
+++ b/libavcodec/internal.h
@@ -48,6 +48,19 @@
#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, ...)
+#endif
+
+#ifdef TRACE
+# define ff_tlog(ctx, ...) av_log(ctx, AV_LOG_TRACE, __VA_ARGS__)
+#else
+# define ff_tlog(p, ...)
+#endif
+
+
#define FF_SANE_NB_CHANNELS 63U
#define FF_SIGNBIT(x) ((x) >> CHAR_BIT * sizeof(x) - 1)