[FFmpeg-cvslog] r11019 - trunk/ffmpeg.c
diego
subversion
Wed Nov 14 10:58:38 CET 2007
Author: diego
Date: Wed Nov 14 10:58:38 2007
New Revision: 11019
Log:
Move up opt_show_license to get rid of ugly forward declaration.
patch by Stefano Sabatini, stefano.sabatini-lala poste it
Modified:
trunk/ffmpeg.c
Modified: trunk/ffmpeg.c
==============================================================================
--- trunk/ffmpeg.c (original)
+++ trunk/ffmpeg.c Wed Nov 14 10:58:38 2007
@@ -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, con
*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.
More information about the ffmpeg-cvslog
mailing list