aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2009-10-19 06:40:33 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-12-05 15:40:51 -0500
commit5f78a9f96bc1954e9bd51458af8658b1eda603be (patch)
tree4ebddaddc8ac9c4fa0852640b910d74bbdfcd9e1
parent46b4f2ab5858de905a20389c32105fcee833e0d3 (diff)
V4L/DVB (13198): gspca - ov519: Bad frame pointer in ovfx2 packet scan.
Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/video/gspca/ov519.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/ov519.c b/drivers/media/video/gspca/ov519.c
index a63cb75aa7f1..f88a526e216f 100644
--- a/drivers/media/video/gspca/ov519.c
+++ b/drivers/media/video/gspca/ov519.c
@@ -4058,7 +4058,7 @@ static void ovfx2_pkt_scan(struct gspca_dev *gspca_dev,
4058{ 4058{
4059 /* A short read signals EOF */ 4059 /* A short read signals EOF */
4060 if (len < OVFX2_BULK_SIZE) { 4060 if (len < OVFX2_BULK_SIZE) {
4061 gspca_frame_add(gspca_dev, LAST_PACKET, frame, data, len); 4061 frame = gspca_frame_add(gspca_dev, LAST_PACKET, frame, data, len);
4062 gspca_frame_add(gspca_dev, FIRST_PACKET, frame, NULL, 0); 4062 gspca_frame_add(gspca_dev, FIRST_PACKET, frame, NULL, 0);
4063 return; 4063 return;
4064 } 4064 }