17 Jan
2024
17 Jan
'24
10:57 p.m.
Rémi Bernon (@rbernon) commented about dlls/dmime/audiopath.c:
+ } + free(port_config); +} + +static HRESULT parse_port_config_list(struct audio_path_config *This, IStream *stream, const struct chunk_entry *pcfl) +{ + struct chunk_entry chunk = { .parent = pcfl }; + struct audio_path_port_config *port_config = calloc(1, sizeof(*port_config)); + HRESULT hr; + + if (!port_config) + return E_OUTOFMEMORY; + + list_init(&port_config->pchannel_to_buffer_entries); + + while ((hr = stream_next_chunk(stream, &chunk)) == S_OK) {
while ((hr = stream_next_chunk(stream, &chunk)) == S_OK)
{
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/4852#note_57827