提交 6788baeb 编写于 作者: L Luca Barbato

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

Avoid the warning `-Wempty-body`.
上级 7d36474d
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
#ifdef DEBUG #ifdef DEBUG
# define ff_dlog(ctx, ...) av_log(ctx, AV_LOG_DEBUG, __VA_ARGS__) # define ff_dlog(ctx, ...) av_log(ctx, AV_LOG_DEBUG, __VA_ARGS__)
#else #else
# define ff_dlog(ctx, ...) while(0) # define ff_dlog(ctx, ...) do { } while (0)
#endif #endif
#ifdef TRACE #ifdef TRACE
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册