Commit 3815c1e9 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

avifil32: Unconditionally support IAVIStream in WAVFile.

parent d1bbb471
...@@ -258,8 +258,7 @@ static HRESULT WINAPI IAVIFile_fnQueryInterface(IAVIFile *iface, REFIID refiid, ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment