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
64f2dad5
Commit
64f2dad5
authored
Sep 25, 2011
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Sep 26, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineqtdecoder: Use FAILED instead of !SUCCEEDED.
parent
e5ba6017
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
qtsplitter.c
dlls/wineqtdecoder/qtsplitter.c
+4
-4
No files found.
dlls/wineqtdecoder/qtsplitter.c
View file @
64f2dad5
...
...
@@ -922,7 +922,7 @@ static HRESULT QT_Process_Movie(QTSplitter* filter)
if
(
trk
)
hr
=
QT_Process_Video_Track
(
filter
,
trk
);
if
(
!
SUCCEED
ED
(
hr
))
if
(
FAIL
ED
(
hr
))
return
hr
;
trk
=
GetMovieIndTrackType
(
filter
->
pQTMovie
,
1
,
AudioMediaCharacteristic
,
movieTrackCharacteristic
|
movieTrackEnabledOnly
);
...
...
@@ -959,14 +959,14 @@ static HRESULT WINAPI QTInPin_ReceiveConnection(IPin *iface, IPin *pReceivePin,
hr
=
VFW_E_INVALID_DIRECTION
;
}
if
(
!
SUCCEED
ED
(
hr
))
if
(
FAIL
ED
(
hr
))
{
LeaveCriticalSection
(
This
->
pin
.
pCritSec
);
return
hr
;
}
hr
=
IPin_QueryInterface
(
pReceivePin
,
&
IID_IAsyncReader
,
(
LPVOID
*
)
&
This
->
pReader
);
if
(
!
SUCCEED
ED
(
hr
))
if
(
FAIL
ED
(
hr
))
{
LeaveCriticalSection
(
This
->
pin
.
pCritSec
);
TRACE
(
"Input source is not an AsyncReader
\n
"
);
...
...
@@ -976,7 +976,7 @@ static HRESULT WINAPI QTInPin_ReceiveConnection(IPin *iface, IPin *pReceivePin,
LeaveCriticalSection
(
This
->
pin
.
pCritSec
);
EnterCriticalSection
(
&
((
QTSplitter
*
)
This
->
pin
.
pinInfo
.
pFilter
)
->
filter
.
csFilter
);
hr
=
QT_Process_Movie
((
QTSplitter
*
)
This
->
pin
.
pinInfo
.
pFilter
);
if
(
!
SUCCEED
ED
(
hr
))
if
(
FAIL
ED
(
hr
))
{
LeaveCriticalSection
(
&
((
QTSplitter
*
)
This
->
pin
.
pinInfo
.
pFilter
)
->
filter
.
csFilter
);
TRACE
(
"Unable to process movie
\n
"
);
...
...
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