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
b0495996
Commit
b0495996
authored
Oct 03, 2019
by
Nikolay Sivov
Committed by
Alexandre Julliard
Oct 03, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mfplat: Remove unnecessary typedef.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
5ebf0b0b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
main.c
dlls/mfplat/main.c
+6
-6
No files found.
dlls/mfplat/main.c
View file @
b0495996
...
...
@@ -4763,7 +4763,7 @@ struct resolver_cancel_object
enum
resolved_object_origin
origin
;
};
typedef
struct
source_resolver
struct
source_resolver
{
IMFSourceResolver
IMFSourceResolver_iface
;
LONG
refcount
;
...
...
@@ -4771,7 +4771,7 @@ typedef struct source_resolver
IMFAsyncCallback
url_callback
;
CRITICAL_SECTION
cs
;
struct
list
pending
;
}
mfsourceresolver
;
};
static
struct
source_resolver
*
impl_from_IMFSourceResolver
(
IMFSourceResolver
*
iface
)
{
...
...
@@ -5272,14 +5272,14 @@ static HRESULT resolver_end_create_object(struct source_resolver *resolver, enum
static
HRESULT
WINAPI
source_resolver_QueryInterface
(
IMFSourceResolver
*
iface
,
REFIID
riid
,
void
**
obj
)
{
mfsourceresolver
*
This
=
impl_from_IMFSourceResolver
(
iface
);
struct
source_resolver
*
resolver
=
impl_from_IMFSourceResolver
(
iface
);
TRACE
(
"
(%p->(%s, %p)
\n
"
,
This
,
debugstr_guid
(
riid
),
obj
);
TRACE
(
"
%p, %s, %p.
\n
"
,
iface
,
debugstr_guid
(
riid
),
obj
);
if
(
IsEqualIID
(
riid
,
&
IID_IMFSourceResolver
)
||
IsEqualIID
(
riid
,
&
IID_IUnknown
))
{
*
obj
=
&
This
->
IMFSourceResolver_iface
;
*
obj
=
&
resolver
->
IMFSourceResolver_iface
;
}
else
{
...
...
@@ -5335,7 +5335,7 @@ static HRESULT WINAPI source_resolver_CreateObjectFromURL(IMFSourceResolver *ifa
MFASYNCRESULT
*
data
;
HRESULT
hr
;
TRACE
(
"%p, %s, %#x, %p, %p, %p
\n
"
,
iface
,
debugstr_w
(
url
),
flags
,
props
,
obj_type
,
object
);
TRACE
(
"%p, %s, %#x, %p, %p, %p
.
\n
"
,
iface
,
debugstr_w
(
url
),
flags
,
props
,
obj_type
,
object
);
if
(
!
url
||
!
obj_type
||
!
object
)
return
E_POINTER
;
...
...
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