mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-24 08:12:44 +00:00
log: Use a do {} while (0) for tlog
Avoid the warning `-Wempty-body`.
This commit is contained in:
parent
febfb49a70
commit
34138ece23
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user