mciavi32: Assign to struct instead of using memcpy.

This commit is contained in:
Andrew Talbot 2008-03-04 22:30:35 +00:00 committed by Alexandre Julliard
parent 1a540fa4ce
commit 4c656d8802
1 changed files with 1 additions and 1 deletions

View File

@ -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)))
{