mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-04 10:16:51 +07:00
V4L/DVB (11104): gspca - ov534: Bad frame pointer after adding the last packet
Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
0dc641dc9f
commit
3481c19854
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user