防止越权访问

This commit is contained in:
xiongziliang
2019-10-18 09:58:22 +08:00
parent 67d2beb52a
commit 0f5582689b
3 changed files with 4 additions and 4 deletions

View File

@@ -48,7 +48,7 @@ MediaReader::MediaReader(const string &strVhost,const string &strApp, const stri
}else{
strFileName = strApp + "/" + strId;
}
strFileName = File::absolutePath(strFileName,true,recordPath);
strFileName = File::absolutePath(strFileName, false,recordPath);
}
_hMP4File = MP4Read(strFileName.data());