Commit 7593c472 authored by Elen.Subbotina's avatar Elen.Subbotina Committed by Alexander Trofimov

ошибк

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@63092 954022d7-b5bf-4e40-9824-e11837661b57
parent 574fe0f0
......@@ -84,12 +84,17 @@ static const struct ActionNames
void CSvmFile::PlayMetaFile()
{
m_bError = false;
m_oStream.SeekToStart();
// Check the signature "VCLMTF"
std::string start = std::string((char*)m_oStream.GetCurPtr(), 6);
if (start != "VCLMTF") return;
if (start != "VCLMTF")
{
m_bError = true;
return;
}
m_oStream.Skip(6);
Read_SVM_HEADER();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment