summaryrefslogtreecommitdiff
path: root/ffplay.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-08-20 17:03:04 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-08-20 17:06:50 +0200
commitaee51039ee204197fdb4c924f8ee433b803ab1e1 (patch)
treeb1138f704eec5bf82e6fcc23591c7b245f728ac5 /ffplay.c
parent67a6dac7c18caecb418f7590a484dcbfcad869ab (diff)
parentf8b1e665539010d3ca148f09cb1203c20c1ca174 (diff)
Merge commit 'f8b1e665539010d3ca148f09cb1203c20c1ca174'
* commit 'f8b1e665539010d3ca148f09cb1203c20c1ca174': avconv: print info/capabilities options in a separate help group. avtools: add -h demuxer/muxer cmdutils: extend -h to allow printing codec details. Conflicts: cmdutils.h ffmpeg_filter.c ffmpeg_opt.c ffplay.c ffserver.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffplay.c')
-rw-r--r--ffplay.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/ffplay.c b/ffplay.c
index c28883c498..2907948689 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -244,8 +244,6 @@ typedef struct AllocEventProps {
AVFrame *frame;
} AllocEventProps;
-static int show_help(const char *opt, const char *arg);
-
/* options specified by the user */
static AVInputFormat *file_iformat;
static const char *input_filename;
@@ -3023,7 +3021,7 @@ static void show_usage(void)
av_log(NULL, AV_LOG_INFO, "\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();
@@ -3051,7 +3049,6 @@ static int show_help(const char *opt, const char *arg)
"page down/page up seek backward/forward 10 minutes\n"
"mouse click seek to percentage in file corresponding to fraction of width\n"
);
- return 0;
}
static int lockmgr(void **mtx, enum AVLockOp op)