Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 137930
b: refs/heads/master
c: c90e777
h: refs/heads/master
v: v3
  • Loading branch information
Laurent Pinchart authored and Mauro Carvalho Chehab committed Mar 30, 2009
1 parent 49cba2b commit 5309aed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 72362422f3a9cb66e26fa9f0d90d3ef5241e78ba
refs/heads/master: c90e777976f6237a0cdb644c6a9406907939b174
3 changes: 3 additions & 0 deletions trunk/drivers/media/video/uvc/uvc_video.c
Original file line number Diff line number Diff line change
Expand Up @@ -540,6 +540,9 @@ static void uvc_video_decode_bulk(struct urb *urb,
u8 *mem;
int len, ret;

if (urb->actual_length == 0)
return;

mem = urb->transfer_buffer;
len = urb->actual_length;
video->bulk.payload_size += len;
Expand Down

0 comments on commit 5309aed

Please sign in to comment.