summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2007-11-14 09:58:38 +0000
committerDiego Biurrun <diego@biurrun.de>2007-11-14 09:58:38 +0000
commitd4f98ab11885935dd0d01150fbe553648fa15168 (patch)
tree6efd94097b50e0e8b0fb0fdcf6791b1293ad508e /ffmpeg.c
parent5b0b5ecf60901e953071e8349ff79e075c2592c3 (diff)
Move up opt_show_license to get rid of ugly forward declaration.
patch by Stefano Sabatini, stefano.sabatini-lala poste it Originally committed as revision 11019 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 020ac2e59c..189d7270fa 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -83,7 +83,6 @@ typedef struct AVMetaDataMap {
extern const OptionDef options[];
static void show_help(void);
-static void opt_show_license(void);
static int opt_default(const char *opt, const char *arg);
#define MAX_FILES 20
@@ -3607,6 +3606,12 @@ static void opt_bsf(const char *opt, const char *arg)
*bsfp= bsfc;
}
+static void opt_show_license(void)
+{
+ show_license();
+ exit(0);
+}
+
static void opt_show_version(void)
{
show_version(program_name);
@@ -3780,12 +3785,6 @@ const OptionDef options[] = {
{ NULL, },
};
-static void opt_show_license(void)
-{
- show_license();
- exit(0);
-}
-
/**
* Trivial log callback.
* Only suitable for show_help and similar since it lacks prefix handling.