summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ffprobe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffprobe.c b/ffprobe.c
index e0d015651c..a76e98ee45 100644
--- a/ffprobe.c
+++ b/ffprobe.c
@@ -1032,7 +1032,7 @@ static void xml_print_footer(WriterContext *wctx)
printf("</%sffprobe>\n", xml->fully_qualified ? "ffprobe:" : "");
}
-#define XML_INDENT() { int i; for (i = 0; i < xml->indent_level; i++) printf(INDENT); }
+#define XML_INDENT() printf("%*c", xml->indent_level * 4, ' ')
static void xml_print_chapter_header(WriterContext *wctx, const char *chapter)
{