aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2011-09-09 14:40:18 +0200
committerClément Bœsch <ubitux@gmail.com>2011-09-09 14:40:18 +0200
commit88fddd0bcc97c214c4bbd2e2c9934dde35feb60b (patch)
treea4478685df45741607a4ebbd0a30b4ceff7ed3e5
parent8096b7c67fbf0bf0931081fa5634df876c8dafbb (diff)
downloadffmpeg-88fddd0bcc97c214c4bbd2e2c9934dde35feb60b.tar.gz
ffprobe: replace specific ## GNU cpp extension with __VA_ARGS__.
-rw-r--r--ffprobe.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/ffprobe.c b/ffprobe.c
index d435ee3206..538120f07d 100644
--- a/ffprobe.c
+++ b/ffprobe.c
@@ -172,11 +172,11 @@ static void default_print_footer(const char *section)
/* 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)