Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
cd4a1ea9
Commit
cd4a1ea9
authored
Mar 20, 2015
by
Nikolay Sivov
Committed by
Alexandre Julliard
Mar 20, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avifil32: Return interface pointer from QI instead of impl pointer.
parent
bc9b29f6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
acmstream.c
dlls/avifil32/acmstream.c
+1
-1
icmstream.c
dlls/avifil32/icmstream.c
+1
-1
No files found.
dlls/avifil32/acmstream.c
View file @
cd4a1ea9
...
@@ -143,7 +143,7 @@ static HRESULT WINAPI ACMStream_fnQueryInterface(IAVIStream *iface,
...
@@ -143,7 +143,7 @@ static HRESULT WINAPI ACMStream_fnQueryInterface(IAVIStream *iface,
if
(
IsEqualGUID
(
&
IID_IUnknown
,
refiid
)
||
if
(
IsEqualGUID
(
&
IID_IUnknown
,
refiid
)
||
IsEqualGUID
(
&
IID_IAVIStream
,
refiid
))
{
IsEqualGUID
(
&
IID_IAVIStream
,
refiid
))
{
*
obj
=
This
;
*
obj
=
&
This
->
IAVIStream_iface
;
IAVIStream_AddRef
(
iface
);
IAVIStream_AddRef
(
iface
);
return
S_OK
;
return
S_OK
;
...
...
dlls/avifil32/icmstream.c
View file @
cd4a1ea9
...
@@ -97,7 +97,7 @@ static HRESULT WINAPI ICMStream_fnQueryInterface(IAVIStream *iface,
...
@@ -97,7 +97,7 @@ static HRESULT WINAPI ICMStream_fnQueryInterface(IAVIStream *iface,
if
(
IsEqualGUID
(
&
IID_IUnknown
,
refiid
)
||
if
(
IsEqualGUID
(
&
IID_IUnknown
,
refiid
)
||
IsEqualGUID
(
&
IID_IAVIStream
,
refiid
))
{
IsEqualGUID
(
&
IID_IAVIStream
,
refiid
))
{
*
obj
=
This
;
*
obj
=
&
This
->
IAVIStream_iface
;
IAVIStream_AddRef
(
iface
);
IAVIStream_AddRef
(
iface
);
return
S_OK
;
return
S_OK
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment