Skip to content

Commit

Permalink
V4L/DVB (11104): gspca - ov534: Bad frame pointer after adding the la…
Browse files Browse the repository at this point in the history
…st packet

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Jean-Francois Moine authored and Mauro Carvalho Chehab committed Mar 30, 2009
1 parent 0dc641d commit 3481c19
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions drivers/media/video/gspca/ov534.c
Original file line number Diff line number Diff line change
Expand Up @@ -487,8 +487,9 @@ static void sd_pkt_scan(struct gspca_dev *gspca_dev, struct gspca_frame *frame,
goto discard;
}

gspca_frame_add(gspca_dev, LAST_PACKET, frame, NULL, 0);
}
frame = gspca_frame_add(gspca_dev, LAST_PACKET, frame,
NULL, 0);
}

/* Done this payload */
goto scan_next;
Expand Down

0 comments on commit 3481c19

Please sign in to comment.