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
c3bf8b88
Commit
c3bf8b88
authored
Jan 06, 2007
by
Kai Blin
Committed by
Alexandre Julliard
Jan 06, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msacm32: Fix comment and remove unneeded if check (Coverity).
Thanks to Alex Villacís Lasso for comments.
parent
386bb905
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
driver.c
dlls/msacm32/driver.c
+4
-4
No files found.
dlls/msacm32/driver.c
View file @
c3bf8b88
...
...
@@ -426,11 +426,11 @@ LRESULT WINAPI acmDriverMessage(HACMDRIVER had, UINT uMsg, LPARAM lParam1, LPARA
}
if
(
pAlias
!=
NULL
)
{
unsigned
int
iStructSize
=
16
;
/* This verification is required because DRVCONFIGINFO is 12 bytes
long, yet native msacm reports a 16-byte structure to codecs
.
/* DRVCONFIGINFO is only 12 bytes long, but native msacm
* reports a 16-byte structure to codecs, so allocate 16 bytes,
* just to be on the safe side
.
*/
if
(
iStructSize
<
sizeof
(
DRVCONFIGINFO
))
iStructSize
=
sizeof
(
DRVCONFIGINFO
)
;
const
unsigned
int
iStructSize
=
16
;
pConfigInfo
=
HeapAlloc
(
MSACM_hHeap
,
0
,
iStructSize
);
if
(
!
pConfigInfo
)
{
ERR
(
"OOM while supplying DRVCONFIGINFO for DRV_CONFIGURE, using NULL
\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