X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=cmdutils.h;h=61d07887b0e25c32fd72188cc0662b74a7b09cd1;hb=668a74e808dad06b15549ed05aa3a879f76c17c3;hp=03080b5216d46ce338a57a3b523d83bf397af845;hpb=175cc378b3bd970caf1641e5df3361d6233747e1;p=ffmpeg diff --git a/cmdutils.h b/cmdutils.h index 03080b5216d..61d07887b0e 100644 --- a/cmdutils.h +++ b/cmdutils.h @@ -43,6 +43,11 @@ extern const char program_name[]; */ extern const int program_birth_year; +/** + * this year, defined by the program for show_banner() + */ +extern const int this_year; + extern AVCodecContext *avcodec_opts[AVMEDIA_TYPE_NB]; extern AVFormatContext *avformat_opts; extern struct SwsContext *sws_opts; @@ -78,6 +83,8 @@ int opt_loglevel(const char *opt, const char *arg); int opt_report(const char *opt); +int opt_max_alloc(const char *opt, const char *arg); + int opt_codec_debug(const char *opt, const char *arg); /** @@ -245,7 +252,7 @@ void print_error(const char *filename, int err); * current version of the repository and of the libav* libraries used by * the program. */ -void show_banner(void); +void show_banner(int argc, char **argv, const OptionDef *options); /** * Print the version of the program to stdout. The version message