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 /ffprobe.c | |
parent | 0d0fdb0ad59c0533fb91dad00379f762573ce541 (diff) | |
download | ffmpeg-96f931adf75967dc86fbf3ee21517e539d0a6e50.tar.gz |
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.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) |