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->input_info;
- *info = (MFT_INPUT_STREAM_INFO){ 0, 0, decoder->input_buf_size, 0, 1 };
We don't use these kind of constructs.