Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2011-06-05 01:54:19 +0400
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2011-06-05 15:21:02 +0400
commit96f931adf75967dc86fbf3ee21517e539d0a6e50 (patch)
tree83b2cb96c70525ef2801162e20fac07466ff45a7 /ffprobe.c
parent0d0fdb0ad59c0533fb91dad00379f762573ce541 (diff)
cmdutils: change the signature of the function argument in parse_options()
This is required for a pending simplification.
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 57e2a9bc06..44252e59da 100644
--- a/ffprobe.c
+++ b/ffprobe.c
@@ -339,7 +339,7 @@ static int opt_format(const char *opt, const char *arg)
return 0;
}
-static void opt_input_file(const char *arg)
+static int opt_input_file(const char *opt, const char *arg)
{
if (input_filename) {
fprintf(stderr, "Argument '%s' provided as input filename, but '%s' was already specified.\n",
@@ -349,6 +349,7 @@ static void opt_input_file(const char *arg)
if (!strcmp(arg, "-"))
arg = "pipe:";
input_filename = arg;
+ return 0;
}
static void show_help(void)