From 1af2ca78594a886a3a859a97059b53d4e6420436 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Fri, 10 Aug 2007 07:28:18 +0000 Subject: [PATCH] =?UTF-8?q?Prefix=20with=20"opt=5F"=20the=20functions=20ff?= =?UTF-8?q?mpeg.c:show=5F{version,license,formats}.=20patch=20by=20Stefano?= =?UTF-8?q?=20Sabatini=20[stefano=20tod=20sabatini-lala=20=C2=A3=20poste?= =?UTF-8?q?=20it]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Originally committed as revision 10049 to svn://svn.ffmpeg.org/ffmpeg/trunk --- ffmpeg.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/ffmpeg.c b/ffmpeg.c index fa3d6244ab..3989462d1e 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -80,7 +80,7 @@ typedef struct AVMetaDataMap { extern const OptionDef options[]; static void show_help(void); -static void show_license(void); +static void opt_show_license(void); static int opt_default(const char *opt, const char *arg); #define MAX_FILES 20 @@ -3187,7 +3187,7 @@ static int64_t getutime(void) extern int ffm_nopts; #endif -static void show_formats(void) +static void opt_show_formats(void) { AVInputFormat *ifmt; AVOutputFormat *ofmt; @@ -3536,7 +3536,7 @@ static void opt_audio_bsf(const char *arg) *bsfp= bsfc; } -static void show_version(void) +static void opt_show_version(void) { /* TODO: add function interface to avutil and avformat */ fprintf(stderr, "ffmpeg " FFMPEG_VERSION "\n" @@ -3591,10 +3591,10 @@ static int opt_default(const char *opt, const char *arg){ const OptionDef options[] = { /* main options */ - { "L", 0, {(void*)show_license}, "show license" }, + { "L", 0, {(void*)opt_show_license}, "show license" }, { "h", 0, {(void*)opt_show_help}, "show help" }, - { "version", 0, {(void*)show_version}, "show version" }, - { "formats", 0, {(void*)show_formats}, "show available formats, codecs, protocols, ..." }, + { "version", 0, {(void*)opt_show_version}, "show version" }, + { "formats", 0, {(void*)opt_show_formats}, "show available formats, codecs, protocols, ..." }, { "f", HAS_ARG, {(void*)opt_format}, "force format", "fmt" }, { "i", HAS_ARG, {(void*)opt_input_file}, "input file name", "filename" }, { "y", OPT_BOOL, {(void*)&file_overwrite}, "overwrite output files" }, @@ -3725,7 +3725,7 @@ static void show_banner(void) #endif } -static void show_license(void) +static void opt_show_license(void) { #ifdef CONFIG_GPL printf(