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
3ef34d77
Commit
3ef34d77
authored
Jan 16, 2012
by
Aric Stewart
Committed by
Alexandre Julliard
Jan 16, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineqtdecoder: Zero out the whole QTSplitter structure on creation.
parent
8c91f1bf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
qtsplitter.c
dlls/wineqtdecoder/qtsplitter.c
+1
-1
No files found.
dlls/wineqtdecoder/qtsplitter.c
View file @
3ef34d77
...
...
@@ -233,6 +233,7 @@ IUnknown * CALLBACK QTSplitter_create(IUnknown *punkout, HRESULT *phr)
*
phr
=
E_OUTOFMEMORY
;
return
NULL
;
}
ZeroMemory
(
This
,
sizeof
(
*
This
));
BaseFilter_Init
(
&
This
->
filter
,
&
QT_Vtbl
,
&
CLSID_QTSplitter
,
(
DWORD_PTR
)(
__FILE__
": QTSplitter.csFilter"
),
&
BaseFuncTable
);
...
...
@@ -250,7 +251,6 @@ IUnknown * CALLBACK QTSplitter_create(IUnknown *punkout, HRESULT *phr)
This
->
pInputPin
.
pin
.
refCount
=
1
;
This
->
pInputPin
.
pin
.
pConnectedTo
=
NULL
;
This
->
pInputPin
.
pin
.
pCritSec
=
&
This
->
filter
.
csFilter
;
ZeroMemory
(
&
This
->
pInputPin
.
pin
.
mtCurrent
,
sizeof
(
AM_MEDIA_TYPE
));
*
phr
=
S_OK
;
return
obj
;
}
...
...
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