diff options
author | Jean-Francois Moine <moinejf@free.fr> | 2009-03-19 05:05:06 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-30 11:43:29 -0400 |
commit | 3481c19854cdb1de1842c6ea6d558006ac0b3b7d (patch) | |
tree | 6574a5880417d3cfa7bda185edfcf4e105938f06 /drivers/media | |
parent | 0dc641dc9f7f168fc45f3032b22dcf7d5b57c47c (diff) |
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>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/video/gspca/ov534.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/media/video/gspca/ov534.c b/drivers/media/video/gspca/ov534.c index 054bdf02c386..ea2245626d53 100644 --- a/drivers/media/video/gspca/ov534.c +++ b/drivers/media/video/gspca/ov534.c | |||
@@ -487,8 +487,9 @@ scan_next: | |||
487 | goto discard; | 487 | goto discard; |
488 | } | 488 | } |
489 | 489 | ||
490 | gspca_frame_add(gspca_dev, LAST_PACKET, frame, NULL, 0); | 490 | frame = gspca_frame_add(gspca_dev, LAST_PACKET, frame, |
491 | } | 491 | NULL, 0); |
492 | } | ||
492 | 493 | ||
493 | /* Done this payload */ | 494 | /* Done this payload */ |
494 | goto scan_next; | 495 | goto scan_next; |