mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-23 04:24:35 +02: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…
x
Reference in New Issue
Block a user