log: Use a do {} while (0) for dlog
Avoid the warning `-Wempty-body`.
This commit is contained in:
parent
7d36474d19
commit
6788baebb3
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue