summaryrefslogtreecommitdiff
path: root/cmdutils.c
diff options
context:
space:
mode:
authorClément Bœsch <clement@stupeflix.com>2013-11-21 12:52:17 +0100
committerClément Bœsch <clement@stupeflix.com>2013-11-21 12:52:30 +0100
commit4e70eeef3a5e1277175891c7cfd19f8a3d323495 (patch)
treea9f2d62a620e2aeb4cc1d490ffc67964270d7650 /cmdutils.c
parent8c9df116cd57c6f7dd12f8d6044b7cb048ff3679 (diff)
downloadffmpeg-4e70eeef3a5e1277175891c7cfd19f8a3d323495.tar.gz
cmdutils: randomize spaces after 69cf626f9.
Diffstat (limited to 'cmdutils.c')
-rw-r--r--cmdutils.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/cmdutils.c b/cmdutils.c
index ed11a5bb05..cc24b17ecf 100644
--- a/cmdutils.c
+++ b/cmdutils.c
@@ -1081,24 +1081,24 @@ static void print_program_info(int flags, int level)
static void print_buildconf(int flags, int level)
{
- const char *indent = flags & INDENT? " " : "";
+ const char *indent = flags & INDENT ? " " : "";
char str[] = { FFMPEG_CONFIGURATION };
char *conflist, *remove_tilde, *splitconf;
// Change all the ' --' strings to '~--' so that
// they can be identified as tokens.
- while ( (conflist = strstr(str, " --")) != NULL ) {
+ while ((conflist = strstr(str, " --")) != NULL) {
strncpy(conflist, "~--", 3);
}
// Compensate for the weirdness this would cause
// when passing 'pkg-config --static'.
- while ( (remove_tilde = strstr(str, "pkg-config~")) != NULL ) {
- strncpy(remove_tilde, "pkg-config ",11);
+ while ((remove_tilde = strstr(str, "pkg-config~")) != NULL) {
+ strncpy(remove_tilde, "pkg-config ", 11);
}
splitconf = strtok(str, "~");
- av_log(NULL, level, "\n%sconfiguration:\n",indent);
+ av_log(NULL, level, "\n%sconfiguration:\n", indent);
while (splitconf != NULL) {
av_log(NULL, level, "%s%s%s\n", indent, indent, splitconf);
splitconf = strtok(NULL, "~");