[FFmpeg-cvslog] r22138 - trunk/ffprobe.c

stefano subversion
Tue Mar 2 00:02:57 CET 2010


Author: stefano
Date: Tue Mar  2 00:02:56 2010
New Revision: 22138

Log:
Clarify the error message issued by ffprobe in case of more than one file provided as input.

Modified:
   trunk/ffprobe.c

Modified: trunk/ffprobe.c
==============================================================================
--- trunk/ffprobe.c	Mon Mar  1 21:42:13 2010	(r22137)
+++ trunk/ffprobe.c	Tue Mar  2 00:02:56 2010	(r22138)
@@ -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, "-"))



More information about the ffmpeg-cvslog mailing list