Commit 4c656d88 authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

mciavi32: Assign to struct instead of using memcpy.

parent 1a540fa4
......@@ -369,7 +369,7 @@ static DWORD MCIAVI_mciPlay_async(WINE_MCIAVI *wma, DWORD dwFlags, LPMCI_PLAY_PA
data->wDevID = wma->wDevID;
data->flags = dwFlags;
memcpy(&data->params, lpParams, sizeof(MCI_PLAY_PARMS));
data->params = *lpParams;
if (!(handle = CreateThread(NULL, 0, MCIAVI_mciPlay_thread, data, 0, NULL)))
{
......
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