fix compile error for linux
This commit is contained in:
parent
60ff9e4627
commit
03bb053a7f
|
@ -559,8 +559,9 @@ static void LoadFM2_binarychunk(MovieData& movieData, std::istream* fp, int size
|
||||||
//yuck... another custom text parser.
|
//yuck... another custom text parser.
|
||||||
bool LoadFM2(MovieData& movieData, std::istream* fp, int size, bool stopAfterHeader)
|
bool LoadFM2(MovieData& movieData, std::istream* fp, int size, bool stopAfterHeader)
|
||||||
{
|
{
|
||||||
|
std::string a("length"), b("-1");
|
||||||
// Non-TAS projects consume until EOF
|
// Non-TAS projects consume until EOF
|
||||||
movieData.installValue(std::string("length"), std::string("-1"));
|
movieData.installValue(a, b);
|
||||||
|
|
||||||
//first, look for an fcm signature
|
//first, look for an fcm signature
|
||||||
char fcmbuf[3];
|
char fcmbuf[3];
|
||||||
|
@ -1461,4 +1462,4 @@ bool CheckFileExists(const char* filename)
|
||||||
test.close();
|
test.close();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue