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
fbb392e4
Commit
fbb392e4
authored
Dec 13, 2000
by
Eric Pouech
Committed by
Alexandre Julliard
Dec 13, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Return values from DRV_ENABLE should not be checked.
parent
31acbb4b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
msvideo_main.c
dlls/msvideo/msvideo_main.c
+3
-5
No files found.
dlls/msvideo/msvideo_main.c
View file @
fbb392e4
...
@@ -186,11 +186,9 @@ HIC MSVIDEO_OpenFunc(DWORD fccType, DWORD fccHandler, UINT wMode, FARPROC lpfnHa
...
@@ -186,11 +186,9 @@ HIC MSVIDEO_OpenFunc(DWORD fccType, DWORD fccHandler, UINT wMode, FARPROC lpfnHa
GlobalFree16
(
hic
);
GlobalFree16
(
hic
);
return
0
;
return
0
;
}
}
if
(
MSVIDEO_SendMessage
(
hic
,
DRV_ENABLE
,
0L
,
0L
,
bFrom32
)
!=
DRV_SUCCESS
)
{
/* return value is not checked */
WARN
(
"DRV_ENABLE failed for hic 0x%08lx
\n
"
,(
DWORD
)
hic
);
MSVIDEO_SendMessage
(
hic
,
DRV_ENABLE
,
0L
,
0L
,
bFrom32
);
GlobalFree16
(
hic
);
return
0
;
}
whic
->
hdrv
=
MSVIDEO_SendMessage
(
hic
,
DRV_OPEN
,
0
,(
LPARAM
)(
SEGPTR_GET
(
icopen
)),
FALSE
);
whic
->
hdrv
=
MSVIDEO_SendMessage
(
hic
,
DRV_OPEN
,
0
,(
LPARAM
)(
SEGPTR_GET
(
icopen
)),
FALSE
);
if
(
whic
->
hdrv
==
0
)
{
if
(
whic
->
hdrv
==
0
)
{
WARN
(
"DRV_OPEN failed for hic 0x%08lx
\n
"
,(
DWORD
)
hic
);
WARN
(
"DRV_OPEN failed for hic 0x%08lx
\n
"
,(
DWORD
)
hic
);
...
...
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