Michael Stefaniuc (@mstefani) commented about dlls/dmime/segment.c:
if (riff.type == DMUS_FOURCC_SEGMENT_FORM) hr = parse_segment_form(This, stream, &riff);
- else {
FIXME("WAVE form loading not implemented\n");
hr = S_OK;
- }
- else
Please check that the RIFF has the proper type and add an else for the error case.