Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
f557ed6f
Commit
f557ed6f
authored
Jul 03, 2012
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jul 03, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Avoid a COM object => iface => object round trip.
parent
b904b694
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
memallocator.c
dlls/quartz/memallocator.c
+4
-4
No files found.
dlls/quartz/memallocator.c
View file @
f557ed6f
...
...
@@ -335,14 +335,14 @@ static HRESULT WINAPI BaseMemAllocator_GetBuffer(IMemAllocator * iface, IMediaSa
hr
=
VFW_E_TIMEOUT
;
else
{
StdMediaSample2
*
ms
;
struct
list
*
free
=
list_head
(
&
This
->
free_list
);
list_remove
(
free
);
list_add_head
(
&
This
->
used_list
,
free
);
*
pSample
=
(
IMediaSample
*
)
LIST_ENTRY
(
free
,
StdMediaSample2
,
listentry
);
assert
(((
StdMediaSample2
*
)
*
pSample
)
->
ref
==
0
);
ms
=
LIST_ENTRY
(
free
,
StdMediaSample2
,
listentry
);
assert
(
ms
->
ref
==
0
);
*
pSample
=
(
IMediaSample
*
)
&
ms
->
IMediaSample2_iface
;
IMediaSample_AddRef
(
*
pSample
);
}
}
...
...
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