Rémi Bernon (@rbernon) commented about dlls/winegstreamer/aac_decoder.c:
if (channel_count >= ARRAY_SIZE(default_channel_mask)) return MF_E_INVALIDMEDIATYPE;
+ if (channel_count > 2 && index >= 2) + { + /* If there are more than two channels in the input type output type GetOutputAvailableType additionally lists + * types with 2 channels. */ + index -= 2;
```suggestion:-4+0 if (channel_count > 2 && index >= ARRAY_SIZE(aac_decoder_output_types)) { /* If there are more than two channels in the input type output type GetOutputAvailableType additionally lists * types with 2 channels. */ index -= ARRAY_SIZE(aac_decoder_output_types); ``` -- https://gitlab.winehq.org/wine/wine/-/merge_requests/3884#note_45866