mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
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:
@ -154,7 +154,7 @@ bool FrameDump::CreateVideoFile()
|
|||||||
|
|
||||||
File::CreateFullPath(dump_path);
|
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)
|
if (!output_format)
|
||||||
{
|
{
|
||||||
ERROR_LOG_FMT(FRAMEDUMP, "Invalid format {}", format);
|
ERROR_LOG_FMT(FRAMEDUMP, "Invalid format {}", format);
|
||||||
|
Reference in New Issue
Block a user