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 /ffplay.c
parent0d0fdb0ad59c0533fb91dad00379f762573ce541 (diff)
cmdutils: change the signature of the function argument in parse_options()
This is required for a pending simplification.
Diffstat (limited to 'ffplay.c')
-rw-r--r--ffplay.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ffplay.c b/ffplay.c
index 4139afb7cc..48f5f144d7 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -3006,7 +3006,7 @@ static void show_help(void)
);
}
-static void opt_input_file(const char *filename)
+static int opt_input_file(const char *opt, const char *filename)
{
if (input_filename) {
fprintf(stderr, "Argument '%s' provided as input filename, but '%s' was already specified.\n",
@@ -3016,6 +3016,7 @@ static void opt_input_file(const char *filename)
if (!strcmp(filename, "-"))
filename = "pipe:";
input_filename = filename;
+ return 0;
}
/* Called from the main */