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
f396d80d
Commit
f396d80d
authored
Feb 20, 2020
by
Nikolay Sivov
Committed by
Alexandre Julliard
Feb 20, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mf: Use more descriptive name for one of the impl_from_* helpers.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
0eda1620
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
session.c
dlls/mf/session.c
+4
-4
No files found.
dlls/mf/session.c
View file @
f396d80d
...
...
@@ -278,7 +278,7 @@ static struct clock_timer *impl_clock_timer_from_IUnknown(IUnknown *iface)
return
CONTAINING_RECORD
(
iface
,
struct
clock_timer
,
IUnknown_iface
);
}
static
struct
sink_notification
*
impl_from_IUnknown
(
IUnknown
*
iface
)
static
struct
sink_notification
*
impl_
sink_notification_
from_IUnknown
(
IUnknown
*
iface
)
{
return
CONTAINING_RECORD
(
iface
,
struct
sink_notification
,
IUnknown_iface
);
}
...
...
@@ -1918,7 +1918,7 @@ static HRESULT WINAPI sink_notification_QueryInterface(IUnknown *iface, REFIID r
static
ULONG
WINAPI
sink_notification_AddRef
(
IUnknown
*
iface
)
{
struct
sink_notification
*
notification
=
impl_from_IUnknown
(
iface
);
struct
sink_notification
*
notification
=
impl_
sink_notification_
from_IUnknown
(
iface
);
ULONG
refcount
=
InterlockedIncrement
(
&
notification
->
refcount
);
TRACE
(
"%p, refcount %u.
\n
"
,
iface
,
refcount
);
...
...
@@ -1928,7 +1928,7 @@ static ULONG WINAPI sink_notification_AddRef(IUnknown *iface)
static
ULONG
WINAPI
sink_notification_Release
(
IUnknown
*
iface
)
{
struct
sink_notification
*
notification
=
impl_from_IUnknown
(
iface
);
struct
sink_notification
*
notification
=
impl_
sink_notification_
from_IUnknown
(
iface
);
ULONG
refcount
=
InterlockedDecrement
(
&
notification
->
refcount
);
TRACE
(
"%p, refcount %u.
\n
"
,
iface
,
refcount
);
...
...
@@ -2496,7 +2496,7 @@ static HRESULT WINAPI present_clock_sink_callback_Invoke(IMFAsyncCallback *iface
if
(
FAILED
(
hr
=
IMFAsyncResult_GetObject
(
result
,
&
object
)))
return
hr
;
data
=
impl_from_IUnknown
(
object
);
data
=
impl_
sink_notification_
from_IUnknown
(
object
);
clock_call_state_change
(
data
->
system_time
,
data
->
param
,
data
->
notification
,
data
->
sink
);
...
...
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