Compare commits

...

2 Commits

Author SHA1 Message Date
Ninja Jiraiya cf63c0ec19 fix 2023-07-03 07:24:22 +07:00
Ninja Jiraiya 04f4d85e2a fix 2023-07-03 07:21:02 +07:00
1 changed files with 3 additions and 4 deletions

View File

@ -1145,14 +1145,14 @@ static void print_program_info(int flags, int level)
{ {
const char *indent = flags & INDENT? " " : ""; const char *indent = flags & INDENT? " " : "";
av_log(NULL, level, "%s version - Customized for MPD-PHP" FFMPEG_VERSION, program_name); av_log(NULL, level, "%s customized for MPD-PHP version " FFMPEG_VERSION, program_name);
if (flags & SHOW_COPYRIGHT) if (flags & SHOW_COPYRIGHT)
av_log(NULL, level, " Copyright (c) %d-%d the FFmpeg developers", av_log(NULL, level, " Copyright (c) %d-%d the FFmpeg developers",
program_birth_year, CONFIG_THIS_YEAR); program_birth_year, CONFIG_THIS_YEAR);
av_log(NULL, level, "\n"); av_log(NULL, level, "\n");
av_log(NULL, level, "%sbuilt with %s\n", indent, CC_IDENT); // av_log(NULL, level, "%sbuilt with %s\n", indent, CC_IDENT);
av_log(NULL, level, "%sconfiguration: " FFMPEG_CONFIGURATION "\n", indent); // av_log(NULL, level, "%sconfiguration: " FFMPEG_CONFIGURATION "\n", indent);
} }
static void print_buildconf(int flags, int level) static void print_buildconf(int flags, int level)
@ -1185,7 +1185,6 @@ void show_banner(int argc, char **argv, const OptionDef *options)
{ {
int idx = locate_option(argc, argv, options, "version"); int idx = locate_option(argc, argv, options, "version");
if (hide_banner || idx) if (hide_banner || idx)
print_program_info (INDENT|SHOW_COPYRIGHT, AV_LOG_INFO);
return; return;
print_program_info (INDENT|SHOW_COPYRIGHT, AV_LOG_INFO); print_program_info (INDENT|SHOW_COPYRIGHT, AV_LOG_INFO);