Nov. 22, 2023
12:12 p.m.
Rémi Bernon (@rbernon) commented about dlls/winegstreamer/wma_decoder.c:
TRACE("iface %p, id %lu, info %p.\n", iface, id, info);
- if (!decoder->input_type || !decoder->output_type) + if (decoder->input_format.major_type == WG_MAJOR_TYPE_UNKNOWN + || decoder->output_format.major_type == WG_MAJOR_TYPE_UNKNOWN) { memset(info, 0, sizeof(*info)); return MF_E_TRANSFORM_TYPE_NOT_SET; }
- *info = decoder->output_info; + *info = (MFT_OUTPUT_STREAM_INFO){ 0, decoder->output_buf_size, 1 };
There's still one here. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/4450#note_53372