diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2015-12-05 13:45:01 +0100 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2015-12-08 11:26:21 +0100 |
commit | 34138ece23c8ddae543269212a051c00d49e67d7 (patch) | |
tree | 7ca3af5b7a421e37bbd49274b4e0c27c5af97317 | |
parent | febfb49a70e82f5ac46dc7ea34dabd4d56b19b31 (diff) | |
download | ffmpeg-streaming-34138ece23c8ddae543269212a051c00d49e67d7.zip ffmpeg-streaming-34138ece23c8ddae543269212a051c00d49e67d7.tar.gz |
log: Use a do {} while (0) for tlog
Avoid the warning `-Wempty-body`.
-rw-r--r-- | libavcodec/internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/internal.h b/libavcodec/internal.h index 7f12344..3c1583d 100644 --- a/libavcodec/internal.h +++ b/libavcodec/internal.h @@ -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 |