summaryrefslogtreecommitdiff
path: root/libavutil/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavutil/log.h')
-rw-r--r--libavutil/log.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/log.h b/libavutil/log.h
index 0bcf2c4982..c87125d2d5 100644
--- a/libavutil/log.h
+++ b/libavutil/log.h
@@ -143,7 +143,7 @@ const char* av_default_item_name(void* ctx);
#ifdef DEBUG
# define av_dlog(pctx, ...) av_log(pctx, AV_LOG_DEBUG, __VA_ARGS__)
#else
-# define av_dlog(pctx, ...)
+# define av_dlog(pctx, ...) do { if (0) av_log(pctx, AV_LOG_DEBUG, __VA_ARGS__); } while (0)
#endif
/**