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

Avoid the warning `-Wempty-body`.
This commit is contained in:
Luca Barbato 2015-12-05 13:45:01 +01:00
parent febfb49a70
commit 34138ece23

View File

@ -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