summaryrefslogtreecommitdiff
path: root/ffprobe.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-03-01 23:02:56 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-03-01 23:02:56 +0000
commit58621b8d5b19dee7ee17d64342e644f6ac57dc68 (patch)
tree91a093e8642959d8780102ea8aeddafa9e42ff79 /ffprobe.c
parentfe89ccd162ea4606cd4454a5f7ded38d7f224a05 (diff)
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
Diffstat (limited to 'ffprobe.c')
-rw-r--r--ffprobe.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ffprobe.c b/ffprobe.c
index 4a8ca88261..2ab0d96a14 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, "-"))