mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-26 20:30:41 +00:00
Bug 1857380 - return type should be HRESULT. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D190244
This commit is contained in:
parent
1808a9d2e3
commit
ea0fd9af2e
@ -248,8 +248,8 @@ HRESULT WMFDecoderModule::CreateMFTDecoder(const WMFStreamType& aType,
|
||||
if (!WMFDecoderModule::IsHEVCSupported() || !sDXVAEnabled) {
|
||||
return E_FAIL;
|
||||
}
|
||||
return SUCCEEDED(aDecoder->Create(
|
||||
MFT_CATEGORY_VIDEO_DECODER, MFVideoFormat_HEVC, MFVideoFormat_NV12));
|
||||
return aDecoder->Create(MFT_CATEGORY_VIDEO_DECODER, MFVideoFormat_HEVC,
|
||||
MFVideoFormat_NV12);
|
||||
case WMFStreamType::MP3:
|
||||
return aDecoder->Create(CLSID_CMP3DecMediaObject);
|
||||
case WMFStreamType::AAC:
|
||||
|
Loading…
x
Reference in New Issue
Block a user