Clarify the error message issued by ffprobe in case of more than one
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Mon, 1 Mar 2010 23:02:56 +0000 (23:02 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Mon, 1 Mar 2010 23:02:56 +0000 (23:02 +0000)
file provided as input.

Originally committed as revision 22138 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffprobe.c

index 4a8ca88..2ab0d96 100644 (file)
--- a/ffprobe.c
+++ b/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, "-"))