Module: wine Branch: master Commit: 17416be982c73f4ba9e99b718db56759ee3c7512 URL: https://gitlab.winehq.org/wine/wine/-/commit/17416be982c73f4ba9e99b718db5675...
Author: Rémi Bernon rbernon@codeweavers.com Date: Thu Oct 26 14:38:06 2023 +0200
dmime: Ignore badly formed wave if format and data have been found.
---
dlls/dmusic/wave.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/dlls/dmusic/wave.c b/dlls/dmusic/wave.c index dd0b8a44779..8ee713bd4f0 100644 --- a/dlls/dmusic/wave.c +++ b/dlls/dmusic/wave.c @@ -167,6 +167,7 @@ static HRESULT parse_wave_chunk(struct wave *This, IStream *stream, struct chunk if (FAILED(hr)) break; }
+ if (This->format && This->data) return S_OK; return hr; }