AVIDump: rename CreateFile -> CreateVideoFile (conflict with windows.h)
This commit is contained in:
parent
f024fd48f9
commit
c3a1547d9a
|
@ -70,7 +70,7 @@ bool AVIDump::Start(int w, int h)
|
|||
s_last_pts = 0;
|
||||
|
||||
InitAVCodec();
|
||||
bool success = CreateFile();
|
||||
bool success = CreateVideoFile();
|
||||
if (!success)
|
||||
{
|
||||
CloseFile();
|
||||
|
@ -79,7 +79,7 @@ bool AVIDump::Start(int w, int h)
|
|||
return success;
|
||||
}
|
||||
|
||||
bool AVIDump::CreateFile()
|
||||
bool AVIDump::CreateVideoFile()
|
||||
{
|
||||
AVCodec* codec = nullptr;
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
class AVIDump
|
||||
{
|
||||
private:
|
||||
static bool CreateFile();
|
||||
static bool CreateVideoFile();
|
||||
static void CloseFile();
|
||||
static void CheckResolution(int width, int height);
|
||||
|
||||
|
|
Loading…
Reference in New Issue