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
8a42eb55
Commit
8a42eb55
authored
Jan 08, 2015
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jan 08, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Simplify code flow logic (PVS-Studio).
parent
585f8dfe
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
vmr9.c
dlls/quartz/vmr9.c
+3
-5
No files found.
dlls/quartz/vmr9.c
View file @
8a42eb55
...
@@ -476,14 +476,12 @@ static HRESULT WINAPI VMR9_ShouldDrawSampleNow(BaseRenderer *This, IMediaSample
...
@@ -476,14 +476,12 @@ static HRESULT WINAPI VMR9_ShouldDrawSampleNow(BaseRenderer *This, IMediaSample
static
HRESULT
WINAPI
VMR9_CompleteConnect
(
BaseRenderer
*
This
,
IPin
*
pReceivePin
)
static
HRESULT
WINAPI
VMR9_CompleteConnect
(
BaseRenderer
*
This
,
IPin
*
pReceivePin
)
{
{
struct
quartz_vmr
*
pVMR9
=
(
struct
quartz_vmr
*
)
This
;
struct
quartz_vmr
*
pVMR9
=
(
struct
quartz_vmr
*
)
This
;
HRESULT
hr
=
S_OK
;
HRESULT
hr
;
TRACE
(
"(%p)
\n
"
,
This
);
TRACE
(
"(%p)
\n
"
,
This
);
if
(
!
pVMR9
->
mode
&&
SUCCEEDED
(
hr
))
if
(
pVMR9
->
mode
||
hr
=
IVMRFilterConfig9_SetRenderingMode
(
&
pVMR9
->
IVMRFilterConfig9_iface
,
VMR9Mode_Windowed
);
SUCCEEDED
(
hr
=
IVMRFilterConfig9_SetRenderingMode
(
&
pVMR9
->
IVMRFilterConfig9_iface
,
VMR9Mode_Windowed
)))
if
(
SUCCEEDED
(
hr
))
hr
=
VMR9_maybe_init
(
pVMR9
,
FALSE
);
hr
=
VMR9_maybe_init
(
pVMR9
,
FALSE
);
return
hr
;
return
hr
;
...
...
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