Commit 161c2779 authored by stefano's avatar stefano

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".


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22045 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 7c9d7480
...@@ -288,15 +288,15 @@ static void opt_format(const char *arg) ...@@ -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) { if (input_filename) {
fprintf(stderr, "Input filename already specified: %s\n", filename); fprintf(stderr, "Input filename already specified: %s\n", arg);
exit(1); exit(1);
} }
if (!strcmp(filename, "-")) if (!strcmp(arg, "-"))
filename = "pipe:"; arg = "pipe:";
input_filename = filename; input_filename = arg;
} }
static void show_help(void) static void show_help(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment