mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-02 13:23:38 +00:00
qcap: Build with msvcrt.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
786d81d802
commit
ee7bba6a4f
|
@ -3,6 +3,8 @@ IMPORTS = strmiids uuid ole32 oleaut32 gdi32 advapi32
|
|||
DELAYIMPORTS = msvfw32
|
||||
PARENTSRC = ../strmbase
|
||||
|
||||
EXTRADLLFLAGS = -mno-cygwin
|
||||
|
||||
C_SRCS = \
|
||||
audiorecord.c \
|
||||
avico.c \
|
||||
|
|
|
@ -245,9 +245,9 @@ static HRESULT WINAPI filesinkfilter_SetFileName(IFileSinkFilter *iface,
|
|||
if (mt)
|
||||
FIXME("Ignoring media type %p.\n", mt);
|
||||
|
||||
if (!(new_filename = heap_alloc((strlenW(filename) + 1) * sizeof(WCHAR))))
|
||||
if (!(new_filename = heap_alloc((wcslen(filename) + 1) * sizeof(WCHAR))))
|
||||
return E_OUTOFMEMORY;
|
||||
strcpyW(new_filename, filename);
|
||||
wcscpy(new_filename, filename);
|
||||
|
||||
heap_free(filter->filename);
|
||||
filter->filename = new_filename;
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
#include "wine/debug.h"
|
||||
#include "wine/heap.h"
|
||||
#include "wine/strmbase.h"
|
||||
#include "wine/unicode.h"
|
||||
|
||||
extern HINSTANCE qcap_instance DECLSPEC_HIDDEN;
|
||||
|
||||
|
|
Loading…
Reference in a new issue