summaryrefslogtreecommitdiff
path: root/ffprobe.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-02-25 00:05:01 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-02-25 00:05:01 +0000
commit912dd63ecb4f56772b36bbf676dd4ddc3b6dc64b (patch)
treefda4764e18768a242b09dce6b1a0ed6b4ac07b1d /ffprobe.c
parentc4a90caae249a8bafb7534bac41f7ae89229a672 (diff)
Cosmetics: replace "filename" to "arg" for the name of the argument of
opt_input_file(). More consistent and more clear, as "filename" can be easily confused with the global "input_filename". Originally committed as revision 22045 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffprobe.c')
-rw-r--r--ffprobe.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/ffprobe.c b/ffprobe.c
index 31bcd3dc7d..7ac20eb470 100644
--- a/ffprobe.c
+++ b/ffprobe.c
@@ -288,15 +288,15 @@ static void opt_format(const char *arg)
}
}
-static void opt_input_file(const char *filename)
+static void opt_input_file(const char *arg)
{
if (input_filename) {
- fprintf(stderr, "Input filename already specified: %s\n", filename);
+ fprintf(stderr, "Input filename already specified: %s\n", arg);
exit(1);
}
- if (!strcmp(filename, "-"))
- filename = "pipe:";
- input_filename = filename;
+ if (!strcmp(arg, "-"))
+ arg = "pipe:";
+ input_filename = arg;
}
static void show_help(void)