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
22f43db8
Commit
22f43db8
authored
Dec 20, 2007
by
Andrew Talbot
Committed by
Alexandre Julliard
Dec 21, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mciavi32: Remove unneeded casts.
parent
4a35f62d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
mciavi.c
dlls/mciavi32/mciavi.c
+2
-2
mmoutput.c
dlls/mciavi32/mmoutput.c
+1
-1
No files found.
dlls/mciavi32/mciavi.c
View file @
22f43db8
...
...
@@ -305,7 +305,7 @@ DWORD MCIAVI_mciClose(UINT wDevID, DWORD dwFlags, LPMCI_GENERIC_PARMS lpParms)
MCIAVI_mciStop
(
wDevID
,
MCI_WAIT
,
NULL
);
wma
=
(
WINE_MCIAVI
*
)
MCIAVI_mciGetOpenDev
(
wDevID
);
wma
=
MCIAVI_mciGetOpenDev
(
wDevID
);
if
(
wma
==
NULL
)
return
MCIERR_INVALID_DEVICE_ID
;
EnterCriticalSection
(
&
wma
->
cs
);
...
...
@@ -402,7 +402,7 @@ static DWORD MCIAVI_mciPlay(UINT wDevID, DWORD dwFlags, LPMCI_PLAY_PARMS lpParms
if
(
lpParms
==
NULL
)
return
MCIERR_NULL_PARAMETER_BLOCK
;
wma
=
(
WINE_MCIAVI
*
)
MCIAVI_mciGetOpenDev
(
wDevID
);
wma
=
MCIAVI_mciGetOpenDev
(
wDevID
);
if
(
wma
==
NULL
)
return
MCIERR_INVALID_DEVICE_ID
;
EnterCriticalSection
(
&
wma
->
cs
);
...
...
dlls/mciavi32/mmoutput.c
View file @
22f43db8
...
...
@@ -494,7 +494,7 @@ paint_frame:
static
void
CALLBACK
MCIAVI_waveCallback
(
HWAVEOUT
hwo
,
UINT
uMsg
,
DWORD_PTR
dwInstance
,
DWORD_PTR
dwParam1
,
DWORD_PTR
dwParam2
)
{
WINE_MCIAVI
*
wma
=
(
WINE_MCIAVI
*
)
MCIAVI_mciGetOpenDev
(
dwInstance
);
WINE_MCIAVI
*
wma
=
MCIAVI_mciGetOpenDev
(
dwInstance
);
if
(
!
wma
)
return
;
...
...
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