Commit f1b1fe63 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

avifil32: Corrected destination size in MultiByteToWideChar.

parent 3c688e93
......@@ -2189,7 +2189,7 @@ HRESULT WINAPI EditStreamSetInfoA(PAVISTREAM pstream, LPAVISTREAMINFOA asi,
memcpy(&asiw, asi, sizeof(asiw) - sizeof(asiw.szName));
MultiByteToWideChar(CP_ACP, 0, asi->szName, -1,
asiw.szName, sizeof(asiw.szName));
asiw.szName, sizeof(asiw.szName)/sizeof(WCHAR));
return EditStreamSetInfoW(pstream, &asiw, sizeof(asiw));
}
......
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