mciavi32: Assign to struct instead of using memcpy.
This commit is contained in:
parent
1a540fa4ce
commit
4c656d8802
|
@ -369,7 +369,7 @@ static DWORD MCIAVI_mciPlay_async(WINE_MCIAVI *wma, DWORD dwFlags, LPMCI_PLAY_PA
|
||||||
|
|
||||||
data->wDevID = wma->wDevID;
|
data->wDevID = wma->wDevID;
|
||||||
data->flags = dwFlags;
|
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)))
|
if (!(handle = CreateThread(NULL, 0, MCIAVI_mciPlay_thread, data, 0, NULL)))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue