wineqtdecoder: Do not use wide string literals to fix warning.
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com> Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
0c4f7c2554
commit
49f85ecbc4
|
@ -602,6 +602,8 @@ static const struct strmbase_filter_ops filter_ops =
|
||||||
|
|
||||||
HRESULT video_decoder_create(IUnknown *outer, IUnknown **out)
|
HRESULT video_decoder_create(IUnknown *outer, IUnknown **out)
|
||||||
{
|
{
|
||||||
|
static const WCHAR inW[] = { 'I','n',0 };
|
||||||
|
static const WCHAR outW[] = { 'O','u','t',0 };
|
||||||
QTVDecoderImpl *object;
|
QTVDecoderImpl *object;
|
||||||
HRESULT hr;
|
HRESULT hr;
|
||||||
ISeekingPassThru *passthrough;
|
ISeekingPassThru *passthrough;
|
||||||
|
@ -614,9 +616,9 @@ HRESULT video_decoder_create(IUnknown *outer, IUnknown **out)
|
||||||
InitializeCriticalSection(&object->stream_cs);
|
InitializeCriticalSection(&object->stream_cs);
|
||||||
object->stream_cs.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__": QTVDecoderImpl.stream_cs");
|
object->stream_cs.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__": QTVDecoderImpl.stream_cs");
|
||||||
|
|
||||||
strmbase_sink_init(&object->sink, &object->filter, L"In", &sink_ops, NULL);
|
strmbase_sink_init(&object->sink, &object->filter, inW, &sink_ops, NULL);
|
||||||
|
|
||||||
strmbase_source_init(&object->source, &object->filter, L"Out", &source_ops);
|
strmbase_source_init(&object->source, &object->filter, outW, &source_ops);
|
||||||
|
|
||||||
if (FAILED(hr = CoCreateInstance(&CLSID_SeekingPassThru,
|
if (FAILED(hr = CoCreateInstance(&CLSID_SeekingPassThru,
|
||||||
(IUnknown *)&object->source.pin.IPin_iface, CLSCTX_INPROC_SERVER,
|
(IUnknown *)&object->source.pin.IPin_iface, CLSCTX_INPROC_SERVER,
|
||||||
|
|
Loading…
Reference in New Issue