[deploy] minor fixes

This commit is contained in:
Nomango 2020-04-14 12:58:56 +08:00
parent 8037ff96cf
commit 3b5a85542d
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ HRESULT Transcoder::LoadMediaResource(const Resource& res)
ComPtr<IMFSourceReader> reader;
Resource::Data data = res.GetData();
if (!data)
if (!data.IsValid())
{
return E_FAIL;
}