You've already forked FFmpeg
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:
@@ -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
|
||||||
|
Reference in New Issue
Block a user