Commit af34af7b authored by Alexandre Julliard's avatar Alexandre Julliard

amstream: Avoid wcsncpy().

parent e85dee1f
......@@ -517,7 +517,7 @@ static HRESULT WINAPI filter_JoinFilterGraph(IMediaStreamFilter *iface,
EnterCriticalSection(&filter->cs);
if (name)
wcsncpy(filter->name, name, ARRAY_SIZE(filter->name));
lstrcpynW(filter->name, name, ARRAY_SIZE(filter->name));
else
filter->name[0] = 0;
filter->graph = graph;
......
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