mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-04 15:19:09 +00:00
VideoCommon/FrameDump: Build fix for libavformat major version 59 and newer. av_guess_format now returns a pointer to const.
This commit is contained in:
parent
b32af33f24
commit
a9a163657c
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue