28 Jul
2022
28 Jul
'22
6:58 p.m.
Nikolay Sivov (@nsivov) commented about dlls/mf/sar.c:
TRACE("%p, %lu, %p.\n", iface, index, media_type);
- if (index == 0) - { - *media_type = renderer->media_type; - IMFMediaType_AddRef(*media_type); - } + if (index > 0) + return MF_E_NO_MORE_TYPES;
Could you add a test for this, by just calling it with type count for index? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/553#note_5288