Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
e87322e9
Commit
e87322e9
authored
Jun 06, 2019
by
Andrey Gusev
Committed by
Alexandre Julliard
Jun 06, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Avoid cast for VMR9_ImagePresenter_QueryInterface.
Signed-off-by:
Andrey Gusev
<
andrey.goosev@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
365f162f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
vmr9.c
dlls/quartz/vmr9.c
+2
-4
No files found.
dlls/quartz/vmr9.c
View file @
e87322e9
...
...
@@ -2326,16 +2326,14 @@ HRESULT VMR9Impl_create(IUnknown *outer_unk, LPVOID *ppv)
}
static
HRESULT
WINAPI
VMR9_ImagePresenter_QueryInterface
(
IVMRImagePresenter9
*
iface
,
REFIID
riid
,
LPVOID
*
ppv
)
static
HRESULT
WINAPI
VMR9_ImagePresenter_QueryInterface
(
IVMRImagePresenter9
*
iface
,
REFIID
riid
,
void
**
ppv
)
{
VMR9DefaultAllocatorPresenterImpl
*
This
=
impl_from_IVMRImagePresenter9
(
iface
);
TRACE
(
"(%p/%p)->(%s, %p)
\n
"
,
This
,
iface
,
qzdebugstr_guid
(
riid
),
ppv
);
*
ppv
=
NULL
;
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
))
*
ppv
=
(
LPVOID
)
&
(
This
->
IVMRImagePresenter9_iface
);
else
if
(
IsEqualIID
(
riid
,
&
IID_IVMRImagePresenter9
))
if
(
IsEqualIID
(
riid
,
&
IID_IUnknown
)
||
IsEqualIID
(
riid
,
&
IID_IVMRImagePresenter9
))
*
ppv
=
&
This
->
IVMRImagePresenter9_iface
;
else
if
(
IsEqualIID
(
riid
,
&
IID_IVMRSurfaceAllocatorEx9
))
*
ppv
=
&
This
->
IVMRSurfaceAllocatorEx9_iface
;
...
...
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