Actually return true if InitMFDLL succeeded (#5470)

This commit is contained in:
xperia64 2020-07-23 00:46:10 -04:00 committed by GitHub
parent c3673ac9cd
commit b4ec50ba21
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -446,6 +446,8 @@ bool InitMFDLL() {
LOG_ERROR(Audio_DSP, "Cannot load function MFCreateMediaType"); LOG_ERROR(Audio_DSP, "Cannot load function MFCreateMediaType");
return false; return false;
} }
return true;
} }
Symbol<HRESULT(ULONG, DWORD)> MFStartup; Symbol<HRESULT(ULONG, DWORD)> MFStartup;