29 Nov
2022
29 Nov
'22
10:32 a.m.
Rémi Bernon (@rbernon) commented about dlls/winegstreamer/quartz_parser.c:
+{ + const VIDEOINFOHEADER *video_format = (const VIDEOINFOHEADER *)mt->pbFormat; + + if (!IsEqualGUID(&mt->formattype, &FORMAT_VideoInfo)) + { + FIXME("Unknown format type %s.\n", debugstr_guid(&mt->formattype)); + return false; + } + if (mt->cbFormat < sizeof(VIDEOINFOHEADER) || !mt->pbFormat) + { + ERR("Unexpected format size %lu.\n", mt->cbFormat); + return false; + } + + format->major_type = WG_MAJOR_TYPE_VIDEO_WMV; + format->major_type = WG_MAJOR_TYPE_VIDEO; You set `major_type` twice here.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/1529#note_17829