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
|
DELAYIMPORTS = msvfw32
|
||||||
PARENTSRC = ../strmbase
|
PARENTSRC = ../strmbase
|
||||||
|
|
||||||
|
EXTRADLLFLAGS = -mno-cygwin
|
||||||
|
|
||||||
C_SRCS = \
|
C_SRCS = \
|
||||||
audiorecord.c \
|
audiorecord.c \
|
||||||
avico.c \
|
avico.c \
|
||||||
|
|
|
@ -245,9 +245,9 @@ static HRESULT WINAPI filesinkfilter_SetFileName(IFileSinkFilter *iface,
|
||||||
if (mt)
|
if (mt)
|
||||||
FIXME("Ignoring media type %p.\n", 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;
|
return E_OUTOFMEMORY;
|
||||||
strcpyW(new_filename, filename);
|
wcscpy(new_filename, filename);
|
||||||
|
|
||||||
heap_free(filter->filename);
|
heap_free(filter->filename);
|
||||||
filter->filename = new_filename;
|
filter->filename = new_filename;
|
||||||
|
|
|
@ -28,7 +28,6 @@
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
#include "wine/heap.h"
|
#include "wine/heap.h"
|
||||||
#include "wine/strmbase.h"
|
#include "wine/strmbase.h"
|
||||||
#include "wine/unicode.h"
|
|
||||||
|
|
||||||
extern HINSTANCE qcap_instance DECLSPEC_HIDDEN;
|
extern HINSTANCE qcap_instance DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue