2 Nov
2022
2 Nov
'22
10:40 a.m.
Bernhard Kölbl (@besentv) commented about dlls/mf/session.c:
+ { + IMFTopologyNode_Release(node); + continue; + } + if (FAILED(hr = IMFTopologyNode_GetInputCount(node, &input_count))) + { + IMFTopologyNode_Release(node); + continue; + } + if (FAILED(hr = IMFTopologyNode_GetOutputCount(node, &output_count))) + { + IMFTopologyNode_Release(node); + continue; + } + + for (j = 0; j < input_count; ++j) Afaiu it's always given that output nodes only have one input, so this could probably be omitted as well.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/789#note_12742