mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-12 02:19:35 +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
|
#ifdef TRACE
|
||||||
# define ff_tlog(ctx, ...) av_log(ctx, AV_LOG_TRACE, __VA_ARGS__)
|
# define ff_tlog(ctx, ...) av_log(ctx, AV_LOG_TRACE, __VA_ARGS__)
|
||||||
#else
|
#else
|
||||||
# define ff_tlog(ctx, ...) while(0)
|
# define ff_tlog(ctx, ...) do { } while (0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user