avifil32: Unconditionally support IAVIStream in WAVFile.

This commit is contained in:
Michael Stefaniuc 2014-03-03 21:59:55 +01:00 committed by Alexandre Julliard
parent d1bbb471e8
commit 3815c1e9b6
1 changed files with 1 additions and 2 deletions

View File

@ -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;