OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
febfb49
)
log: Use a do {} while (0) for tlog
author
Luca Barbato
<lu_zero@gentoo.org>
Sat, 5 Dec 2015 12:45:01 +0000
(13:45 +0100)
committer
Luca Barbato
<lu_zero@gentoo.org>
Tue, 8 Dec 2015 10:26:21 +0000
(11:26 +0100)
Avoid the warning `-Wempty-body`.
libavcodec/internal.h
patch
|
blob
|
history
diff --git
a/libavcodec/internal.h
b/libavcodec/internal.h
index
7f12344
..
3c1583d
100644
(file)
--- 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