mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
log: Use a do {} while (0) for dlog
Avoid the warning `-Wempty-body`.
This commit is contained in:
parent
7d36474d19
commit
6788baebb3
@ -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…
Reference in New Issue
Block a user