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

This commit is contained in:
Kim Kulling
2016-11-29 19:50:40 +01:00
parent c54dcf6180
commit f2817587ab

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;