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
5217d171
Commit
5217d171
authored
Mar 30, 2020
by
Zebediah Figura
Committed by
Alexandre Julliard
Mar 31, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qedit/nullrenderer: Get rid of the NullRendererImpl typedef.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e838381a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
nullrenderer.c
dlls/qedit/nullrenderer.c
+6
-6
No files found.
dlls/qedit/nullrenderer.c
View file @
5217d171
...
...
@@ -26,14 +26,14 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
qedit
);
typedef
struct
NullRendererImpl
struct
null_renderer
{
struct
strmbase_renderer
renderer
;
}
NullRendererImpl
;
};
static
inline
NullRendererImpl
*
impl_from_strmbase_renderer
(
struct
strmbase_renderer
*
iface
)
static
struct
null_renderer
*
impl_from_strmbase_renderer
(
struct
strmbase_renderer
*
iface
)
{
return
CONTAINING_RECORD
(
iface
,
NullRendererImpl
,
renderer
);
return
CONTAINING_RECORD
(
iface
,
struct
null_renderer
,
renderer
);
}
static
HRESULT
WINAPI
NullRenderer_DoRenderSample
(
struct
strmbase_renderer
*
iface
,
IMediaSample
*
sample
)
...
...
@@ -49,7 +49,7 @@ static HRESULT WINAPI NullRenderer_CheckMediaType(struct strmbase_renderer *ifac
static
void
null_renderer_destroy
(
struct
strmbase_renderer
*
iface
)
{
NullRendererImpl
*
filter
=
impl_from_strmbase_renderer
(
iface
);
struct
null_renderer
*
filter
=
impl_from_strmbase_renderer
(
iface
);
strmbase_renderer_cleanup
(
&
filter
->
renderer
);
free
(
filter
);
...
...
@@ -64,7 +64,7 @@ static const struct strmbase_renderer_ops renderer_ops =
HRESULT
null_renderer_create
(
IUnknown
*
outer
,
IUnknown
**
out
)
{
NullRendererImpl
*
object
;
struct
null_renderer
*
object
;
if
(
!
(
object
=
calloc
(
1
,
sizeof
(
*
object
))))
return
E_OUTOFMEMORY
;
...
...
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