From 88fddd0bcc97c214c4bbd2e2c9934dde35feb60b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Cl=C3=A9ment=20B=C5=93sch?= Date: Fri, 9 Sep 2011 14:40:18 +0200 Subject: [PATCH] ffprobe: replace specific ## GNU cpp extension with __VA_ARGS__. --- ffprobe.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ffprobe.c b/ffprobe.c index d435ee320..538120f07 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) -- 2.11.0