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;
|
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;
|
||||||
|
|
||||||
|
|
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue