summaryrefslogtreecommitdiff
path: root/avplay.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-08-13 20:06:25 +0200
committerAnton Khirnov <anton@khirnov.net>2012-08-19 19:22:08 +0200
commita3ad68d36c0bff87c525035b3f745bb274b00d41 (patch)
tree7006e5f920a7e3ee891180ee142f0038739c668d /avplay.c
parent7c5012127fb7e18f0616011257bb4248f6a8b608 (diff)
cmdutils: extend -h to allow printing codec details.
Diffstat (limited to 'avplay.c')
-rw-r--r--avplay.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/avplay.c b/avplay.c
index 64d7b3da33..4322802e2c 100644
--- a/avplay.c
+++ b/avplay.c
@@ -224,8 +224,6 @@ typedef struct VideoState {
int refresh;
} VideoState;
-static int show_help(const char *opt, const char *arg);
-
/* options specified by the user */
static AVInputFormat *file_iformat;
static const char *input_filename;
@@ -2922,7 +2920,7 @@ static void show_usage(void)
printf("\n");
}
-static int show_help(const char *opt, const char *arg)
+void show_help_default(const char *opt, const char *arg)
{
av_log_set_callback(log_callback_help);
show_usage();
@@ -2947,8 +2945,6 @@ static int show_help(const char *opt, const char *arg)
"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)