summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/FrameDump.cpp
diff options
context:
space:
mode:
authorJordan Woyak <jordan.woyak@gmail.com>2022-01-30 13:16:51 -0600
committerJordan Woyak <jordan.woyak@gmail.com>2022-01-30 13:16:51 -0600
commita9a163657ccfa888d2c4fcd6eb26ac5f0c994203 (patch)
tree5a9c51cf67e633c0c7146c1320793803cd705873 /Source/Core/VideoCommon/FrameDump.cpp
parentb32af33f24d13b58b28680e02f85baabdcd3499c (diff)
VideoCommon/FrameDump: Build fix for libavformat major version 59 and newer. av_guess_format now returns a pointer to const.
Diffstat (limited to 'Source/Core/VideoCommon/FrameDump.cpp')
-rw-r--r--Source/Core/VideoCommon/FrameDump.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/FrameDump.cpp b/Source/Core/VideoCommon/FrameDump.cpp
index 9a8e3b4e1f..e137170309 100644
--- a/Source/Core/VideoCommon/FrameDump.cpp
+++ b/Source/Core/VideoCommon/FrameDump.cpp
@@ -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);