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
2922615d
Commit
2922615d
authored
Jun 13, 2019
by
Zebediah Figura
Committed by
Alexandre Julliard
Jun 14, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
strmbase: Return void from OutputPin_Init().
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
81ec19dc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
10 deletions
+3
-10
pin.c
dlls/strmbase/pin.c
+3
-10
No files found.
dlls/strmbase/pin.c
View file @
2922615d
...
...
@@ -740,14 +740,12 @@ static void strmbase_pin_init(BasePin *pin, const IPinVtbl *vtbl,
pin
->
pFuncsTable
=
func_table
;
}
static
HRESULT
OutputPin_Init
(
const
IPinVtbl
*
vtbl
,
const
PIN_INFO
*
info
,
const
BaseOutputPinFuncTable
*
func_table
,
CRITICAL_SECTION
*
cs
,
BaseOutputPin
*
pin
)
static
void
strmbase_source_init
(
BaseOutputPin
*
pin
,
const
IPinVtbl
*
vtbl
,
const
PIN_INFO
*
info
,
const
BaseOutputPinFuncTable
*
func_table
,
CRITICAL_SECTION
*
cs
)
{
memset
(
pin
,
0
,
sizeof
(
*
pin
));
strmbase_pin_init
(
&
pin
->
pin
,
vtbl
,
&
func_table
->
base
,
info
,
cs
);
pin
->
pFuncsTable
=
func_table
;
return
S_OK
;
}
HRESULT
WINAPI
BaseOutputPin_Construct
(
const
IPinVtbl
*
OutputPin_Vtbl
,
LONG
outputpin_size
,
const
PIN_INFO
*
pPinInfo
,
const
BaseOutputPinFuncTable
*
vtbl
,
LPCRITICAL_SECTION
pCritSec
,
IPin
**
ppPin
)
...
...
@@ -770,14 +768,9 @@ HRESULT WINAPI BaseOutputPin_Construct(const IPinVtbl *OutputPin_Vtbl, LONG outp
if
(
!
pPinImpl
)
return
E_OUTOFMEMORY
;
if
(
SUCCEEDED
(
OutputPin_Init
(
OutputPin_Vtbl
,
pPinInfo
,
vtbl
,
pCritSec
,
pPinImpl
)))
{
strmbase_source_init
(
pPinImpl
,
OutputPin_Vtbl
,
pPinInfo
,
vtbl
,
pCritSec
);
*
ppPin
=
&
pPinImpl
->
pin
.
IPin_iface
;
return
S_OK
;
}
CoTaskMemFree
(
pPinImpl
);
return
E_FAIL
;
}
HRESULT
WINAPI
BaseOutputPin_Destroy
(
BaseOutputPin
*
This
)
...
...
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