avifil32: Unconditionally support IAVIStream in WAVFile.
This commit is contained in:
parent
d1bbb471e8
commit
3815c1e9b6
|
@ -258,8 +258,7 @@ static HRESULT WINAPI IAVIFile_fnQueryInterface(IAVIFile *iface, REFIID refiid,
|
||||||
*obj = iface;
|
*obj = iface;
|
||||||
IAVIFile_AddRef(iface);
|
IAVIFile_AddRef(iface);
|
||||||
return S_OK;
|
return S_OK;
|
||||||
} else if (This->fInfo.dwStreams == 1 &&
|
} else if (IsEqualGUID(&IID_IAVIStream, refiid)) {
|
||||||
IsEqualGUID(&IID_IAVIStream, refiid)) {
|
|
||||||
*obj = &This->iAVIStream;
|
*obj = &This->iAVIStream;
|
||||||
IAVIFile_AddRef(iface);
|
IAVIFile_AddRef(iface);
|
||||||
return S_OK;
|
return S_OK;
|
||||||
|
|
Loading…
Reference in New Issue