diff options
Diffstat (limited to 'avplay.c')
-rw-r--r-- | avplay.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -224,7 +224,7 @@ typedef struct VideoState { int refresh; } VideoState; -static void show_help(void); +static int show_help(const char *opt, const char *arg); /* options specified by the user */ static AVInputFormat *file_iformat; @@ -2922,7 +2922,7 @@ static void show_usage(void) printf("\n"); } -static void show_help(void) +static int show_help(const char *opt, const char *arg) { av_log_set_callback(log_callback_help); show_usage(); @@ -2949,6 +2949,8 @@ static void show_help(void) "down/up seek backward/forward 1 minute\n" "mouse click seek to percentage in file corresponding to fraction of width\n" ); + + return 0; } static void opt_input_file(void *optctx, const char *filename) |