winenas.drv: Assign to struct instead of using memcpy.

This commit is contained in:
Andrew Talbot 2008-03-26 21:56:37 +00:00 committed by Alexandre Julliard
parent 52f6018c73
commit ddf9697433

View file

@ -941,7 +941,7 @@ static DWORD wodOpen(WORD wDevID, LPWAVEOPENDESC lpDesc, DWORD dwFlags)
wwo->wFlags = HIWORD(dwFlags & CALLBACK_TYPEMASK);
memcpy(&wwo->waveDesc, lpDesc, sizeof(WAVEOPENDESC));
wwo->waveDesc = *lpDesc;
memcpy(&wwo->format, lpDesc->lpFormat, sizeof(PCMWAVEFORMAT));
if (wwo->format.wBitsPerSample == 0) {