V4L/DVB (10101): uvcvideo: Fix bulk URB processing when the header is erroneous
authorLaurent Pinchart <laurent.pinchart@skynet.be>
Tue, 16 Dec 2008 13:41:57 +0000 (10:41 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 30 Dec 2008 11:40:31 +0000 (09:40 -0200)
When the first bulk URB of a video payload contains an erroneous header, or
when no V4L2 buffer is available, the whole payload must be dropped. Change
the skip logic to drop all bulk URBs until the end of the payload instead of
the first one only.

Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

No differences found