avifil32: Corrected destination size in MultiByteToWideChar.

This commit is contained in:
Marcus Meissner 2006-06-15 20:07:46 +02:00 committed by Alexandre Julliard
parent 3c688e9345
commit f1b1fe63f6
1 changed files with 1 additions and 1 deletions

View File

@ -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));
}