Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 179423
b: refs/heads/master
c: 9501843
h: refs/heads/master
i:
  179421: 2224898
  179419: bc05400
  179415: 5621e13
  179407: 4c140a9
  179391: 43a1d6f
v: v3
  • Loading branch information
Jean-Francois Moine authored and Mauro Carvalho Chehab committed Jan 17, 2010
1 parent 39c9a0f commit ae24522
Show file tree
Hide file tree
Showing 2 changed files with 5 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: c60503c1db76bd46577cc7ff4fafa033b675e0e5
refs/heads/master: 9501843496aaf85fe1767b534c4720622c4425c4
4 changes: 4 additions & 0 deletions trunk/drivers/media/video/gspca/vc032x.c
Original file line number Diff line number Diff line change
Expand Up @@ -3009,6 +3009,10 @@ static void sd_pkt_scan(struct gspca_dev *gspca_dev,
int l;

frame = gspca_get_i_frame(gspca_dev);
if (frame == NULL) {
gspca_dev->last_packet_type = DISCARD_PACKET;
return;
}
l = frame->data_end - frame->data;
if (len > frame->v4l2_buf.length - l)
len = frame->v4l2_buf.length - l;
Expand Down

0 comments on commit ae24522

Please sign in to comment.