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:
Zebediah Figura 2020-11-26 22:34:33 -06:00 committed by Alexandre Julliard
parent 786d81d802
commit ee7bba6a4f
3 changed files with 4 additions and 3 deletions

View File

@ -3,6 +3,8 @@ IMPORTS = strmiids uuid ole32 oleaut32 gdi32 advapi32
DELAYIMPORTS = msvfw32
PARENTSRC = ../strmbase
EXTRADLLFLAGS = -mno-cygwin
C_SRCS = \
audiorecord.c \
avico.c \

View File

@ -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;

View File

@ -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;