Commit 34138ece authored by Luca Barbato's avatar Luca Barbato

log: Use a do {} while (0) for tlog

Avoid the warning `-Wempty-body`.
parent febfb49a
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment