OSDN Git Service
(root)
/
coroid
/
ffmpeg_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
8096b7c
)
ffprobe: replace specific ## GNU cpp extension with __VA_ARGS__.
author
Clément Bœsch
<ubitux@gmail.com>
Fri, 9 Sep 2011 12:40:18 +0000
(14:40 +0200)
committer
Clément Bœsch
<ubitux@gmail.com>
Fri, 9 Sep 2011 12:40:18 +0000
(14:40 +0200)
ffprobe.c
patch
|
blob
|
history
diff --git
a/ffprobe.c
b/ffprobe.c
index
d435ee3
..
538120f
100644
(file)
--- a/
ffprobe.c
+++ b/
ffprobe.c
@@
-172,11
+172,11
@@
static void default_print_footer(const char *section)
/* Print helpers */
/* Print helpers */
-#define print_fmt0(k, f,
a...) w->print_fmt_f(k, f, ##a
)
-#define print_fmt( k, f,
a...) do {
\
- if (w->item_sep) \
- printf("%s", w->item_sep); \
- w->print_fmt_f(k, f,
##a);
\
+#define print_fmt0(k, f,
...) w->print_fmt_f(k, f, __VA_ARGS__
)
+#define print_fmt( k, f,
...) do {
\
+ if (w->item_sep)
\
+ printf("%s", w->item_sep);
\
+ w->print_fmt_f(k, f,
__VA_ARGS__);
\
} while (0)
#define print_int0(k, v) w->print_int_f(k, v)
} while (0)
#define print_int0(k, v) w->print_int_f(k, v)