fix compile error for linux

This commit is contained in:
qeed 2009-12-18 17:02:23 +00:00
parent 60ff9e4627
commit 03bb053a7f
1 changed files with 3 additions and 2 deletions

View File

@ -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];