AVDictionary *format_opts, *codec_opts, *resample_opts;
static FILE *report_file;
+int hide_banner = 0;
void init_opts(void)
{
fflush(report_file);
}
}
+ idx = locate_option(argc, argv, options, "hide_banner");
+ if (idx)
+ hide_banner = 1;
}
static const AVOption *opt_find(void *obj, const char *name, const char *unit,
void show_banner(int argc, char **argv, const OptionDef *options)
{
int idx = locate_option(argc, argv, options, "version");
- if (idx)
+ if (hide_banner || idx)
return;
print_program_info (INDENT|SHOW_COPYRIGHT, AV_LOG_INFO);