Rémi Bernon (@rbernon) commented about dlls/winegstreamer/resampler.c:
*type = NULL; if (index >= (output ? 2 : 1) * ARRAY_SIZE(audio_formats))
return MF_E_NO_MORE_TYPES;
- {
hr = MF_E_NO_MORE_TYPES;
goto done;
- } subtype = audio_formats[index % ARRAY_SIZE(audio_formats)];
Probably better to move that `MFCreateMediaType` down after the subtype is checked.