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
fb08e32e
Commit
fb08e32e
authored
May 22, 2019
by
Zebediah Figura
Committed by
Alexandre Julliard
May 23, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qcap/avico: Use strmbase_filter_cleanup().
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
80e61def
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
avico.c
dlls/qcap/avico.c
+4
-3
No files found.
dlls/qcap/avico.c
View file @
fb08e32e
...
...
@@ -150,7 +150,7 @@ static HRESULT WINAPI AVICompressor_QueryInterface(IBaseFilter *iface, REFIID ri
static
ULONG
WINAPI
AVICompressor_Release
(
IBaseFilter
*
iface
)
{
AVICompressor
*
This
=
impl_from_IBaseFilter
(
iface
);
ULONG
ref
=
BaseFilterImpl_Release
(
&
This
->
filter
.
IBaseFilter_iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
filter
.
refCount
);
TRACE
(
"(%p) ref=%d
\n
"
,
This
,
ref
);
...
...
@@ -162,6 +162,7 @@ static ULONG WINAPI AVICompressor_Release(IBaseFilter *iface)
BaseInputPinImpl_Release
(
&
This
->
in
->
pin
.
IPin_iface
);
if
(
This
->
out
)
BaseOutputPinImpl_Release
(
&
This
->
out
->
pin
.
IPin_iface
);
strmbase_filter_cleanup
(
&
This
->
filter
);
heap_free
(
This
);
}
...
...
@@ -685,7 +686,7 @@ IUnknown* WINAPI QCAP_createAVICompressor(IUnknown *outer, HRESULT *phr)
hres
=
BaseInputPin_Construct
(
&
AVICompressorInputPinVtbl
,
sizeof
(
BaseInputPin
),
&
in_pin_info
,
&
AVICompressorBaseInputPinVtbl
,
&
compressor
->
filter
.
csFilter
,
NULL
,
(
IPin
**
)
&
compressor
->
in
);
if
(
FAILED
(
hres
))
{
IBaseFilter_Release
(
&
compressor
->
filter
.
IBaseFilter_iface
);
strmbase_filter_cleanup
(
&
compressor
->
filter
);
*
phr
=
hres
;
return
NULL
;
}
...
...
@@ -694,7 +695,7 @@ IUnknown* WINAPI QCAP_createAVICompressor(IUnknown *outer, HRESULT *phr)
hres
=
BaseOutputPin_Construct
(
&
AVICompressorOutputPinVtbl
,
sizeof
(
BaseOutputPin
),
&
out_pin_info
,
&
AVICompressorBaseOutputPinVtbl
,
&
compressor
->
filter
.
csFilter
,
(
IPin
**
)
&
compressor
->
out
);
if
(
FAILED
(
hres
))
{
IBaseFilter_Release
(
&
compressor
->
filter
.
IBaseFilter_iface
);
strmbase_filter_cleanup
(
&
compressor
->
filter
);
*
phr
=
hres
;
return
NULL
;
}
...
...
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