Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 261437
b: refs/heads/master
c: fa4376d
h: refs/heads/master
i:
  261435: a609ff6
v: v3
  • Loading branch information
Hans de Goede authored and Mauro Carvalho Chehab committed Jul 27, 2011
1 parent 306a31f commit ac36f8a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 21144ea601f1fea37c7add15a099affec7c08425
refs/heads/master: fa4376d28e19b0835f948c5b42f13738f68bd9a1
5 changes: 4 additions & 1 deletion trunk/drivers/media/video/gspca/gspca.c
Original file line number Diff line number Diff line change
Expand Up @@ -443,8 +443,11 @@ void gspca_frame_add(struct gspca_dev *gspca_dev,
} else {
switch (gspca_dev->last_packet_type) {
case DISCARD_PACKET:
if (packet_type == LAST_PACKET)
if (packet_type == LAST_PACKET) {
gspca_dev->last_packet_type = packet_type;
gspca_dev->image = NULL;
gspca_dev->image_len = 0;
}
return;
case LAST_PACKET:
return;
Expand Down

0 comments on commit ac36f8a

Please sign in to comment.