1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-10 06:10:52 +02:00

log: Use a do {} while (0) for dlog

Avoid the warning `-Wempty-body`.
This commit is contained in:
Luca Barbato
2015-12-05 13:45:01 +01:00
parent 7d36474d19
commit 6788baebb3

View File

@@ -57,7 +57,7 @@
#ifdef DEBUG #ifdef DEBUG
# define ff_dlog(ctx, ...) av_log(ctx, AV_LOG_DEBUG, __VA_ARGS__) # define ff_dlog(ctx, ...) av_log(ctx, AV_LOG_DEBUG, __VA_ARGS__)
#else #else
# define ff_dlog(ctx, ...) while(0) # define ff_dlog(ctx, ...) do { } while (0)
#endif #endif
#ifdef TRACE #ifdef TRACE