Fixed missing async user data extraction from libusb transfer
This commit is contained in:
parent
93ee13245c
commit
786f6bbfe8
@ -94,6 +94,7 @@ static struct libusb_transfer* list_contains(wArrayList* list, UINT32 streamID)
|
||||
#if defined(HAVE_STREAM_ID_API)
|
||||
const UINT32 currentID = libusb_transfer_get_stream_id(transfer);
|
||||
#else
|
||||
const ASYNC_TRANSFER_USER_DATA* user_data = (ASYNC_TRANSFER_USER_DATA*)transfer->user_data;
|
||||
const UINT32 currentID = user_data->streamID;
|
||||
#endif
|
||||
if (currentID == streamID)
|
||||
|
Loading…
Reference in New Issue
Block a user