]> git.sesse.net Git - ffmpeg/blobdiff - cmdutils.h
10l, do not use ctx before being set, fix segv
[ffmpeg] / cmdutils.h
index 5faa13276fe35dab88c2dd85d5da73c12478ebba..981f0faf1eb9788ae02df6189f22f5902abf2f03 100644 (file)
  */
 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
@@ -107,16 +112,13 @@ 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
  * depends on the current versions of the repository and of the libav*
  * libraries.
- * @param program_name name of the program
  */
 void show_version(void);