From 58621b8d5b19dee7ee17d64342e644f6ac57dc68 Mon Sep 17 00:00:00 2001
From: Stefano Sabatini <stefano.sabatini-lala@poste.it>
Date: Mon, 1 Mar 2010 23:02:56 +0000
Subject: [PATCH] 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
---
 ffprobe.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ffprobe.c b/ffprobe.c
index 4a8ca882615..2ab0d96a14b 100644
--- 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, "-"))
-- 
GitLab