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-08 11:26:21 +0100
commit34138ece23c8ddae543269212a051c00d49e67d7 (patch)
tree7ca3af5b7a421e37bbd49274b4e0c27c5af97317 /libavcodec/internal.h
parentfebfb49a70e82f5ac46dc7ea34dabd4d56b19b31 (diff)
log: Use a do {} while (0) for tlog
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 7f12344533..3c1583dab4 100644
--- a/libavcodec/internal.h
+++ b/libavcodec/internal.h
@@ -63,7 +63,7 @@
#ifdef TRACE
# define ff_tlog(ctx, ...) av_log(ctx, AV_LOG_TRACE, __VA_ARGS__)
#else
-# define ff_tlog(ctx, ...) while(0)
+# define ff_tlog(ctx, ...) do { } while (0)
#endif