summaryrefslogtreecommitdiffstats
path: root/ffplay.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2011-06-04 23:54:19 +0200
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2011-06-05 13:21:02 +0200
commit96f931adf75967dc86fbf3ee21517e539d0a6e50 (patch)
tree83b2cb96c70525ef2801162e20fac07466ff45a7 /ffplay.c
parent0d0fdb0ad59c0533fb91dad00379f762573ce541 (diff)
downloadffmpeg-streaming-96f931adf75967dc86fbf3ee21517e539d0a6e50.zip
ffmpeg-streaming-96f931adf75967dc86fbf3ee21517e539d0a6e50.tar.gz
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 4139afb..48f5f14 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 */
OpenPOWER on IntegriCloud