AMFImporter: use correct unique token to identify schema for AMF-assets.

pull/1090/head
Kim Kulling 2016-11-29 19:50:40 +01:00
parent c54dcf6180
commit f2817587ab
1 changed files with 2 additions and 2 deletions

View File

@ -671,9 +671,9 @@ const std::string extension = GetExtension(pFile);
if(!extension.length() || pCheckSig)
{
const char* tokens[] = { "<?xml", "<amf" };
const char* tokens[] = { "<amf" };
return SearchFileHeaderForToken(pIOHandler, pFile, tokens, 2);
return SearchFileHeaderForToken( pIOHandler, pFile, tokens, 1 );
}
return false;