Commit 49f85ecb authored by Gijs Vermeulen's avatar Gijs Vermeulen Committed by Alexandre Julliard

wineqtdecoder: Do not use wide string literals to fix warning.

parent 0c4f7c25
...@@ -602,6 +602,8 @@ static const struct strmbase_filter_ops filter_ops = ...@@ -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) ...@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment