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
82584160
Commit
82584160
authored
Sep 30, 2020
by
Nikolay Sivov
Committed by
Alexandre Julliard
Sep 30, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mfreadwrite/tests: Add return value test (Coverity).
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
937b5859
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
mfplat.c
dlls/mfreadwrite/tests/mfplat.c
+3
-1
No files found.
dlls/mfreadwrite/tests/mfplat.c
View file @
82584160
...
...
@@ -438,11 +438,13 @@ static struct test_media_stream *create_test_stream(DWORD stream_index, IMFMedia
struct
test_media_stream
*
stream
;
IMFPresentationDescriptor
*
pd
;
BOOL
selected
;
HRESULT
hr
;
stream
=
heap_alloc_zero
(
sizeof
(
*
stream
));
stream
->
IMFMediaStream_iface
.
lpVtbl
=
&
test_media_stream_vtbl
;
stream
->
refcount
=
1
;
MFCreateEventQueue
(
&
stream
->
event_queue
);
hr
=
MFCreateEventQueue
(
&
stream
->
event_queue
);
ok
(
hr
==
S_OK
,
"Failed to create event queue, hr %#x.
\n
"
,
hr
);
stream
->
source
=
source
;
IMFMediaSource_AddRef
(
stream
->
source
);
stream
->
is_new
=
TRUE
;
...
...
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