[deploy] minor fixes
This commit is contained in:
parent
8037ff96cf
commit
3b5a85542d
|
|
@ -96,7 +96,7 @@ HRESULT Transcoder::LoadMediaResource(const Resource& res)
|
||||||
ComPtr<IMFSourceReader> reader;
|
ComPtr<IMFSourceReader> reader;
|
||||||
|
|
||||||
Resource::Data data = res.GetData();
|
Resource::Data data = res.GetData();
|
||||||
if (!data)
|
if (!data.IsValid())
|
||||||
{
|
{
|
||||||
return E_FAIL;
|
return E_FAIL;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue