Clarify the error message issued by ffprobe in case of more than one

file provided as input.

Originally committed as revision 22138 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Stefano Sabatini 2010-03-01 23:02:56 +00:00
parent fe89ccd162
commit 58621b8d5b

View File

@ -291,7 +291,8 @@ static void opt_format(const char *arg)
static void opt_input_file(const char *arg)
{
if (input_filename) {
fprintf(stderr, "Input filename already specified: %s\n", arg);
fprintf(stderr, "Argument '%s' provided as input filename, but '%s' was already specified.\n",
arg, input_filename);
exit(1);
}
if (!strcmp(arg, "-"))