Commit 6788baeb authored by Luca Barbato's avatar Luca Barbato

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

Avoid the warning `-Wempty-body`.
parent 7d36474d
......@@ -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
......
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