Commit 3481c198 authored by Jean-Francois Moine's avatar Jean-Francois Moine Committed by Mauro Carvalho Chehab

V4L/DVB (11104): gspca - ov534: Bad frame pointer after adding the last packet

Signed-off-by: default avatarJean-Francois Moine <moinejf@free.fr>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 0dc641dc
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment