1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-10-09 10:42:29 +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
# 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