init commit

This commit is contained in:
Ninja Jiraiya 2023-07-02 19:25:28 +07:00
parent c4877d6eb1
commit a50833216c
3 changed files with 6 additions and 4 deletions

View File

@ -1,5 +1,6 @@
FFmpeg README FFmpeg README
============= =============
Based on 4.3.6
FFmpeg is a collection of libraries and tools to process multimedia content FFmpeg is a collection of libraries and tools to process multimedia content
such as audio, video, subtitles and related metadata. such as audio, video, subtitles and related metadata.

View File

@ -1 +1 @@
4.3.6 4.3.7

View File

@ -1145,7 +1145,7 @@ 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 " FFMPEG_VERSION, program_name); av_log(NULL, level, "%s version - Customized for MPD-PHP" 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);
@ -1185,11 +1185,12 @@ 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);
print_all_libs_info(INDENT|SHOW_CONFIG, AV_LOG_INFO); // print_all_libs_info(INDENT|SHOW_CONFIG, AV_LOG_INFO);
print_all_libs_info(INDENT|SHOW_VERSION, AV_LOG_INFO); // print_all_libs_info(INDENT|SHOW_VERSION, AV_LOG_INFO);
} }
int show_version(void *optctx, const char *opt, const char *arg) int show_version(void *optctx, const char *opt, const char *arg)