On Sun, 2009-03-08 at 22:50 +0000, Ben Hutchings wrote:
> I have not been able to reproduce this bug but have identified a likely
> source.  Please can you test this fix for me:
> 
> Change line 2251 of rtmp_main.c from:
>         endpoint = &iface_desc->endpoint[i].desc;
> to:
>         endpoint = &iface_desc->endpoint[1].desc;

On second thoughts, I don't believe that is correct either, though it
may work in practice.  Instead, please try changing line 2254 from:
        pAd->BulkOutMaxPacketSize = (USHORT)endpoint->wMaxPacketSize;
to:
        pAd->BulkOutMaxPacketSize = usb_maxpacket(dev, usb_sndbulkpipe(dev, 1), 
true);

Ben.

-- 
Ben Hutchings
If the facts do not conform to your theory, they must be disposed of.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to