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
cea6f01c
Commit
cea6f01c
authored
May 17, 2010
by
Michael Stefaniuc
Committed by
Alexandre Julliard
May 17, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mciavi32: Remove redundant "not NULL" checks of the lpParms arg.
parent
cf13e8a3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
mciavi.c
dlls/mciavi32/mciavi.c
+3
-3
No files found.
dlls/mciavi32/mciavi.c
View file @
cea6f01c
...
...
@@ -427,10 +427,10 @@ static DWORD MCIAVI_mciPlay(UINT wDevID, DWORD dwFlags, LPMCI_PLAY_PARMS lpParms
dwFromFrame
=
wma
->
dwCurrVideoFrame
;
dwToFrame
=
wma
->
dwPlayableVideoFrames
-
1
;
if
(
lpParms
&&
(
dwFlags
&
MCI_FROM
)
)
{
if
(
dwFlags
&
MCI_FROM
)
{
dwFromFrame
=
MCIAVI_ConvertTimeFormatToFrame
(
wma
,
lpParms
->
dwFrom
);
}
if
(
lpParms
&&
(
dwFlags
&
MCI_TO
)
)
{
if
(
dwFlags
&
MCI_TO
)
{
dwToFrame
=
MCIAVI_ConvertTimeFormatToFrame
(
wma
,
lpParms
->
dwTo
);
}
if
(
dwToFrame
>=
wma
->
dwPlayableVideoFrames
)
...
...
@@ -552,7 +552,7 @@ static DWORD MCIAVI_mciPlay(UINT wDevID, DWORD dwFlags, LPMCI_PLAY_PARMS lpParms
mci_play_done:
wma
->
dwStatus
=
MCI_MODE_STOP
;
if
(
lpParms
&&
(
dwFlags
&
MCI_NOTIFY
)
)
{
if
(
dwFlags
&
MCI_NOTIFY
)
{
TRACE
(
"MCI_NOTIFY_SUCCESSFUL %08lX !
\n
"
,
lpParms
->
dwCallback
);
mciDriverNotify
(
HWND_32
(
LOWORD
(
lpParms
->
dwCallback
)),
wDevID
,
MCI_NOTIFY_SUCCESSFUL
);
...
...
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