aboutsummaryrefslogtreecommitdiffstats
path: root/cmdutils.h
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2008-05-29 08:48:51 +0000
committerDiego Biurrun <diego@biurrun.de>2008-05-29 08:48:51 +0000
commitea9c581f6100afc50aad4cf8f405ec9749144f71 (patch)
treea12ace050cb683c104736e6ba4f840a8fd9bea28 /cmdutils.h
parent9667a2d268e08ed15576e6776fa1eac7213dc98b (diff)
downloadffmpeg-ea9c581f6100afc50aad4cf8f405ec9749144f71.tar.gz
Simplify show_banner() so that it does not require arguments, similar
to what was previously done with show_version(). patch by Stefano Sabatini, stefano.sabatini-lala poste it Originally committed as revision 13526 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'cmdutils.h')
-rw-r--r--cmdutils.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/cmdutils.h b/cmdutils.h
index 96fa208411..981f0faf1e 100644
--- a/cmdutils.h
+++ b/cmdutils.h
@@ -30,6 +30,11 @@
extern const char program_name[];
/**
+ * program birth year, defined by the program for show_banner()
+ */
+extern const int program_birth_year;
+
+/**
* Parses a string and returns its corresponding value as a double.
* Exits from the application if the string cannot be correctly
* parsed or the corresponding value is invalid.
@@ -107,10 +112,8 @@ void print_error(const char *filename, int err);
* Prints the program banner to stderr. The banner contents depend on the
* current version of the repository and of the libav* libraries used by
* the program.
- * @param program_name name of the program
- * @param program_birth_year year of birth of the program
*/
-void show_banner(const char *program_name, int program_birth_year);
+void show_banner(void);
/**
* Prints the version of the program to stdout. The version message