wmvcore: IWMReader GetOutputCount return zero outputs.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alistair Leslie-Hughes 2019-10-19 09:50:01 +00:00 committed by Alexandre Julliard
parent 3dc3d4998e
commit 7891e1d714
1 changed files with 6 additions and 1 deletions

View File

@ -176,7 +176,12 @@ static HRESULT WINAPI WMReader_GetOutputCount(IWMReader *iface, DWORD *outputs)
{
WMReader *This = impl_from_IWMReader(iface);
FIXME("(%p)->(%p)\n", This, outputs);
return E_NOTIMPL;
if(!outputs)
return E_INVALIDARG;
*outputs = 0;
return S_OK;
}
static HRESULT WINAPI WMReader_GetOutputProps(IWMReader *iface, DWORD output_num, IWMOutputMediaProps **output)