Rémi Bernon : dmime: Ignore badly formed wave if format and data have been found.
26 Oct
2023
26 Oct
'23
9:13 p.m.
Module: wine Branch: master Commit: 17416be982c73f4ba9e99b718db56759ee3c7512 URL: https://gitlab.winehq.org/wine/wine/-/commit/17416be982c73f4ba9e99b718db5675... Author: Rémi Bernon <rbernon(a)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; }
874
Age (days ago)
874
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard