AVIDump: rename CreateFile -> CreateVideoFile (conflict with windows.h)

This commit is contained in:
Michael Maltese 2017-01-23 00:13:27 -08:00
parent f024fd48f9
commit c3a1547d9a
2 changed files with 3 additions and 3 deletions

View File

@ -70,7 +70,7 @@ bool AVIDump::Start(int w, int h)
s_last_pts = 0; s_last_pts = 0;
InitAVCodec(); InitAVCodec();
bool success = CreateFile(); bool success = CreateVideoFile();
if (!success) if (!success)
{ {
CloseFile(); CloseFile();
@ -79,7 +79,7 @@ bool AVIDump::Start(int w, int h)
return success; return success;
} }
bool AVIDump::CreateFile() bool AVIDump::CreateVideoFile()
{ {
AVCodec* codec = nullptr; AVCodec* codec = nullptr;

View File

@ -9,7 +9,7 @@
class AVIDump class AVIDump
{ {
private: private:
static bool CreateFile(); static bool CreateVideoFile();
static void CloseFile(); static void CloseFile();
static void CheckResolution(int width, int height); static void CheckResolution(int width, int height);