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:
7d36474
)
log: Use a do {} while (0) for dlog
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>
Sat, 5 Dec 2015 12:47:09 +0000
(13:47 +0100)
Avoid the warning `-Wempty-body`.
libavcodec/internal.h
patch
|
blob
|
history
diff --git
a/libavcodec/internal.h
b/libavcodec/internal.h
index
500511d
..
adec523
100644
(file)
--- a/
libavcodec/internal.h
+++ b/
libavcodec/internal.h
@@
-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