summaryrefslogtreecommitdiff
path: root/libavcodec/internal.h
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2015-12-05 13:45:01 +0100
committerLuca Barbato <lu_zero@gentoo.org>2015-12-05 13:47:09 +0100
commit6788baebb3680d447eabdadf3f5743c8470a4611 (patch)
treeab56cd4d79003479c239b04a1af8ca1a7a66f74f /libavcodec/internal.h
parent7d36474d1908d6267d4e11d4d9909f9604bd0c81 (diff)
log: Use a do {} while (0) for dlog
Avoid the warning `-Wempty-body`.
Diffstat (limited to 'libavcodec/internal.h')
-rw-r--r--libavcodec/internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/internal.h b/libavcodec/internal.h
index 500511dada..adec52342b 100644
--- a/libavcodec/internal.h
+++ b/libavcodec/internal.h
@@ -57,7 +57,7 @@
#ifdef DEBUG
# define ff_dlog(ctx, ...) av_log(ctx, AV_LOG_DEBUG, __VA_ARGS__)
#else
-# define ff_dlog(ctx, ...) while(0)
+# define ff_dlog(ctx, ...) do { } while (0)
#endif
#ifdef TRACE