Alexandre Julliard (@julliard) commented about dlls/wineoss.drv/mmdevdrv.c:
+static BOOL get_device_name_from_guid(GUID *guid, char **name, EDataFlow *flow) { OSSDevice *dev_item; LIST_FOR_EACH_ENTRY(dev_item, &g_devices, OSSDevice, entry)
if(IsEqualGUID(guid, &dev_item->guid))
return dev_item;
- return NULL;
if(IsEqualGUID(guid, &dev_item->guid)){
if((*name = strdup(dev_item->devnode))){
return TRUE;
}
return FALSE;
}
- return FALSE;
The EDataFlow* argument is not set here, but the caller relies on it.