From b7e59f4e55fdd81c598d3f4d6395c38ecb76faad Mon Sep 17 00:00:00 2001 From: Lioncash <mathew1800@gmail.com> Date: Sun, 29 Jan 2017 22:01:05 -0500 Subject: [PATCH] AVIDump: Rename CloseFile to CloseVideoFile Retains symmetry with CreateVideoFile. --- Source/Core/VideoCommon/AVIDump.cpp | 6 +++--- Source/Core/VideoCommon/AVIDump.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/Core/VideoCommon/AVIDump.cpp b/Source/Core/VideoCommon/AVIDump.cpp index 20494ba882..6e26d3a99f 100644 --- a/Source/Core/VideoCommon/AVIDump.cpp +++ b/Source/Core/VideoCommon/AVIDump.cpp @@ -73,7 +73,7 @@ bool AVIDump::Start(int w, int h) bool success = CreateVideoFile(); if (!success) { - CloseFile(); + CloseVideoFile(); OSD::AddMessage("AVIDump Start failed"); } return success; @@ -257,13 +257,13 @@ void AVIDump::AddFrame(const u8* data, int width, int height, int stride, const void AVIDump::Stop() { av_write_trailer(s_format_context); - CloseFile(); + CloseVideoFile(); s_file_index = 0; NOTICE_LOG(VIDEO, "Stopping frame dump"); OSD::AddMessage("Stopped dumping frames"); } -void AVIDump::CloseFile() +void AVIDump::CloseVideoFile() { if (s_stream) { diff --git a/Source/Core/VideoCommon/AVIDump.h b/Source/Core/VideoCommon/AVIDump.h index 91b2b1b668..fcc3ddb2ce 100644 --- a/Source/Core/VideoCommon/AVIDump.h +++ b/Source/Core/VideoCommon/AVIDump.h @@ -10,7 +10,7 @@ class AVIDump { private: static bool CreateVideoFile(); - static void CloseFile(); + static void CloseVideoFile(); static void CheckResolution(int width, int height); public: