Merge pull request #10417 from jordan-woyak/libavformat-59-build-fix

VideoCommon/FrameDump: Build fix for libavformat major version 59 and newer.
This commit is contained in:
Admiral H. Curtiss 2022-02-04 20:42:34 +01:00 committed by GitHub
commit 09a0ba06c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ bool FrameDump::CreateVideoFile()
File::CreateFullPath(dump_path);
AVOutputFormat* const output_format = av_guess_format(format.c_str(), dump_path.c_str(), nullptr);
auto* const output_format = av_guess_format(format.c_str(), dump_path.c_str(), nullptr);
if (!output_format)
{
ERROR_LOG_FMT(FRAMEDUMP, "Invalid format {}", format);