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
2f6df7c2
Commit
2f6df7c2
authored
Oct 08, 2008
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Oct 08, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qcap: Use the right FAILED/SUCCEEDED macro instead of negating the opposite.
parent
4afe7903
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
qcap_main.c
dlls/qcap/qcap_main.c
+1
-1
vfwcapture.c
dlls/qcap/vfwcapture.c
+1
-1
No files found.
dlls/qcap/qcap_main.c
View file @
2f6df7c2
...
...
@@ -265,7 +265,7 @@ static HRESULT WINAPI DSCF_CreateInstance(LPCLASSFACTORY iface, LPUNKNOWN pOuter
if
(
!
punk
)
{
/* No object created, update error if it isn't done already and return */
if
(
!
FAIL
ED
(
hres
))
if
(
SUCCEED
ED
(
hres
))
hres
=
E_OUTOFMEMORY
;
return
hres
;
}
...
...
dlls/qcap/vfwcapture.c
View file @
2f6df7c2
...
...
@@ -115,7 +115,7 @@ IUnknown * WINAPI QCAP_createVFWCaptureFilter(IUnknown *pUnkOuter, HRESULT *phr)
pVfwCapture
->
csFilter
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": VfwCapture.csFilter"
);
hr
=
VfwPin_Construct
((
IBaseFilter
*
)
&
pVfwCapture
->
lpVtbl
,
&
pVfwCapture
->
csFilter
,
&
pVfwCapture
->
pOutputPin
);
if
(
!
SUCCEED
ED
(
hr
))
if
(
FAIL
ED
(
hr
))
{
CoTaskMemFree
(
pVfwCapture
);
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