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.