forked from FFmpeg/FFmpeg
ffprobe: use "%*" printf syntax in XML_INDENT() in place of a loop
Possibly faster/cleaner. Suggested-By: Clément Bœsch <ubitux@gmail.com>
This commit is contained in:
parent
ce39ba92c0
commit
ec624d7c5c
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue