[FFmpeg-cvslog] r22045 - trunk/ffprobe.c
stefano
subversion
Thu Feb 25 01:05:02 CET 2010
Author: stefano
Date: Thu Feb 25 01:05:01 2010
New Revision: 22045
Log:
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".
Modified:
trunk/ffprobe.c
Modified: trunk/ffprobe.c
==============================================================================
--- trunk/ffprobe.c Thu Feb 25 00:56:52 2010 (r22044)
+++ trunk/ffprobe.c Thu Feb 25 01:05:01 2010 (r22045)
@@ -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)
More information about the ffmpeg-cvslog
mailing list