diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-06-04 23:54:19 +0200 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-06-05 13:21:02 +0200 |
commit | 96f931adf75967dc86fbf3ee21517e539d0a6e50 (patch) | |
tree | 83b2cb96c70525ef2801162e20fac07466ff45a7 /ffplay.c | |
parent | 0d0fdb0ad59c0533fb91dad00379f762573ce541 (diff) | |
download | ffmpeg-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.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 */ |