diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2007-09-27 06:38:40 +0000 |
---|---|---|
committer | Benoit Fouet <benoit.fouet@free.fr> | 2007-09-27 06:38:40 +0000 |
commit | 86074ed1b7d32f504a942bdcb0b40f2830d27e54 (patch) | |
tree | a3f5e61723fd58c271cfc0353c60d4b870a1ea2d /cmdutils.h | |
parent | 20693c85b2910828d424db9761ab25ea7f99f5ce (diff) | |
download | ffmpeg-86074ed1b7d32f504a942bdcb0b40f2830d27e54.tar.gz |
Implement common show version and banner.
Patch by Stefano Sabatini [stefano sabatini-lala poste it]
Originally committed as revision 10600 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'cmdutils.h')
-rw-r--r-- | cmdutils.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/cmdutils.h b/cmdutils.h index e44b6b5bd1..36734efd5e 100644 --- a/cmdutils.h +++ b/cmdutils.h @@ -65,6 +65,23 @@ void parse_options(int argc, char **argv, const OptionDef *options, void print_error(const char *filename, int err); /** + * Prints the banner of the program on stderr. The banner message + * depends on the current versions of the repository and of the libav* + * libraries. + * @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); + +/** + * Prints the version of the program on stdout. The version message + * depends on the current versions of the repository and of the libav* + * libraries. + * @param program_name Name of the program. + */ +void show_version(const char *program_name); + +/** * Prints on stdout the license of the program, which depends on the license of * the compiled libav* libraries. */ |