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
release/0.6
Stefano Sabatini 15 years ago
parent fe89ccd162
commit 58621b8d5b
  1. 3
      ffprobe.c

@ -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, "-"))

Loading…
Cancel
Save