Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 124392
b: refs/heads/master
c: d473a00
h: refs/heads/master
v: v3
  • Loading branch information
Hans de Goede authored and Mauro Carvalho Chehab committed Dec 30, 2008
1 parent 5226ca1 commit fe259d1
Show file tree
Hide file tree
Showing 2 changed files with 7 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: 11d9f25da89523d19dba3608d51a86af2954fc0d
refs/heads/master: d473a002399ff8cd168012f831aca7691d5f5086
6 changes: 6 additions & 0 deletions trunk/drivers/media/video/gspca/vc032x.c
Original file line number Diff line number Diff line change
Expand Up @@ -2272,6 +2272,12 @@ static void sd_pkt_scan(struct gspca_dev *gspca_dev,
data, len);
return;
}

/* The vc0321 sends some additional data after sending the complete
* frame, we ignore this. */
if (sd->bridge == BRIDGE_VC0321
&& len > frame->v4l2_buf.length - (frame->data_end - frame->data))
len = frame->v4l2_buf.length - (frame->data_end - frame->data);
gspca_frame_add(gspca_dev, INTER_PACKET, frame, data, len);
}

Expand Down

0 comments on commit fe259d1

Please sign in to comment.