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
c7d06a08
Commit
c7d06a08
authored
Jun 11, 2019
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mf: Build with msvcrt.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
78f74446
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
8 deletions
+5
-8
Makefile.in
dlls/mf/Makefile.in
+2
-0
main.c
dlls/mf/main.c
+2
-4
session.c
dlls/mf/session.c
+0
-1
topology.c
dlls/mf/topology.c
+1
-3
No files found.
dlls/mf/Makefile.in
View file @
c7d06a08
...
...
@@ -2,6 +2,8 @@ MODULE = mf.dll
IMPORTLIB
=
mf
IMPORTS
=
mfplat ole32 uuid mfuuid
EXTRADLLFLAGS
=
-mno-cygwin
C_SRCS
=
\
main.c
\
samplegrabber.c
\
...
...
dlls/mf/main.c
View file @
c7d06a08
...
...
@@ -16,7 +16,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "config.h"
#include <stdarg.h>
...
...
@@ -39,7 +38,6 @@
#include "wine/debug.h"
#include "wine/heap.h"
#include "wine/unicode.h"
#include "wine/list.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
mfplat
);
...
...
@@ -705,7 +703,7 @@ static WCHAR *heap_strdupW(const WCHAR *str)
{
unsigned
int
size
;
size
=
(
strlenW
(
str
)
+
1
)
*
sizeof
(
WCHAR
);
size
=
(
l
strlenW
(
str
)
+
1
)
*
sizeof
(
WCHAR
);
ret
=
heap_alloc
(
size
);
if
(
ret
)
memcpy
(
ret
,
str
,
size
);
...
...
@@ -930,7 +928,7 @@ static HRESULT WINAPI file_scheme_handler_callback_Invoke(IMFAsyncCallback *ifac
/* Strip from scheme, MFCreateFile() won't be expecting it. */
url
=
context
->
url
;
if
(
!
strncmpiW
(
context
->
url
,
schemeW
,
ARRAY_SIZE
(
schemeW
)))
if
(
!
wcsnicmp
(
context
->
url
,
schemeW
,
ARRAY_SIZE
(
schemeW
)))
url
+=
ARRAY_SIZE
(
schemeW
);
hr
=
MFCreateFile
(
context
->
flags
&
MF_RESOLUTION_WRITE
?
MF_ACCESSMODE_READWRITE
:
MF_ACCESSMODE_READ
,
...
...
dlls/mf/session.c
View file @
c7d06a08
...
...
@@ -15,7 +15,6 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "config.h"
#include <stdarg.h>
...
...
dlls/mf/topology.c
View file @
c7d06a08
...
...
@@ -16,8 +16,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "config.h"
#include "wine/port.h"
#include <stdarg.h>
...
...
@@ -806,7 +804,7 @@ static TOPOID topology_generate_id(void)
{
old
=
next_topology_id
;
}
while
(
interlocked_cmpxchg
64
((
LONG64
*
)
&
next_topology_id
,
old
+
1
,
old
)
!=
old
);
while
(
InterlockedCompareExchange
64
((
LONG64
*
)
&
next_topology_id
,
old
+
1
,
old
)
!=
old
);
return
next_topology_id
;
}
...
...
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