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
82965df6
Commit
82965df6
authored
Nov 08, 2021
by
Nikolay Sivov
Committed by
Alexandre Julliard
Nov 08, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
evr/mixer: Fix rectangle scaling helper argument check (Coverity).
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
2d1e3e5d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
mixer.c
dlls/evr/mixer.c
+1
-1
No files found.
dlls/evr/mixer.c
View file @
82965df6
...
...
@@ -1237,7 +1237,7 @@ static HRESULT video_mixer_get_d3d_device(struct video_mixer *mixer, IDirect3DDe
static
void
video_mixer_scale_rect
(
RECT
*
rect
,
unsigned
int
width
,
unsigned
int
height
,
const
MFVideoNormalizedRect
*
scale
)
{
if
(
rect
->
left
==
0
.
0
f
&&
rect
->
top
==
0
.
0
f
&&
rect
->
right
==
1
.
0
f
&&
rect
->
bottom
==
1
.
0
f
)
if
(
scale
->
left
==
0
.
0
f
&&
scale
->
top
==
0
.
0
f
&&
scale
->
right
==
1
.
0
f
&&
scale
->
bottom
==
1
.
0
f
)
{
SetRect
(
rect
,
0
,
0
,
width
,
height
);
}
...
...
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