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:
commit
09a0ba06c0
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue