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
d4fb0570
Commit
d4fb0570
authored
Jan 03, 1999
by
Ove Kaaven
Committed by
Alexandre Julliard
Jan 03, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Playing a non-existent CD should fail instead of crash.
parent
ca004e50
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
mcicda.c
multimedia/mcicda.c
+6
-0
No files found.
multimedia/mcicda.c
View file @
d4fb0570
...
...
@@ -757,6 +757,12 @@ static DWORD CDAUDIO_mciPlay(UINT16 wDevID, DWORD dwFlags, LPMCI_PLAY_PARMS lpPa
}
else
if
(
wcda
==
NULL
)
{
ret
=
MCIERR_INVALID_DEVICE_ID
;
}
else
{
if
(
wcda
->
nTracks
==
0
)
{
if
(
!
CDAUDIO_GetTracksInfo
(
wcda
))
{
WARN
(
cdaudio
,
"error reading TracksInfo !
\n
"
);
return
MCIERR_DRIVER_INTERNAL
;
}
}
end
=
wcda
->
dwTotalLen
;
wcda
->
nCurTrack
=
1
;
if
(
dwFlags
&
MCI_FROM
)
{
...
...
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