Commit 1a540fa4 authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

mciwave: Assign to struct instead of using memcpy.

parent c604e075
......@@ -323,7 +323,7 @@ static DWORD WAVE_mciCreateRIFFSkeleton(WINE_MCIWAVE* wmw)
{
wmw->lpWaveFormat = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*wmw->lpWaveFormat));
if (!wmw->lpWaveFormat) return MMSYSERR_NOMEM;
memcpy(wmw->lpWaveFormat, &wmw->wfxRef, sizeof(wmw->wfxRef));
*wmw->lpWaveFormat = wmw->wfxRef;
}
/* we can only record PCM files... there is no way in the MCI API to specify
......
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