[PATCH 0/1] MR2675: mfreadwrite: Fix an address of operator typo.
From: Ziqing Hui <zhui(a)codeweavers.com> --- dlls/mfreadwrite/writer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/mfreadwrite/writer.c b/dlls/mfreadwrite/writer.c index aaf972734c4..83b0442b20e 100644 --- a/dlls/mfreadwrite/writer.c +++ b/dlls/mfreadwrite/writer.c @@ -1070,7 +1070,7 @@ static HRESULT sink_writer_get_sink_factory_class(const WCHAR *url, IMFAttribute for (i = 0; i < ARRAY_SIZE(class_map); ++i) { - if (IsEqualGUID(&container, &class_map[i].container)) + if (IsEqualGUID(&container, class_map[i].container)) { *clsid = *class_map[i].clsid; return S_OK; -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/2675
Looks good. Maybe we could have some inlined function for type checking, under __WINESRC__. That's unrelated to this fix. Please add a test when url is not used, to test that mapping of MFTranscodeContainerType_WAVE works. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/2675#note_30498
participants (3)
-
Nikolay Sivov (@nsivov) -
Ziqing Hui -
Ziqing Hui (@zhui)