summaryrefslogtreecommitdiff
path: root/linux/drivers/media
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2009-03-19 10:05:06 +0100
committerJean-Francois Moine <moinejf@free.fr>2009-03-19 10:05:06 +0100
commitc114356c9ba4583ba29beb0b7fcbee70130ab6b1 (patch)
tree2ac72cd2aef082cd3dcd007b6175a35494c81c38 /linux/drivers/media
parent4d2f7316ade12329d6431989db0f367d7806eb87 (diff)
downloadmediapointer-dvb-s2-c114356c9ba4583ba29beb0b7fcbee70130ab6b1.tar.gz
mediapointer-dvb-s2-c114356c9ba4583ba29beb0b7fcbee70130ab6b1.tar.bz2
gspca - ov534: Bad frame pointer after adding the last packet.
From: Jean-Francois Moine <moinejf@free.fr> Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Diffstat (limited to 'linux/drivers/media')
-rw-r--r--linux/drivers/media/video/gspca/ov534.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/linux/drivers/media/video/gspca/ov534.c b/linux/drivers/media/video/gspca/ov534.c
index de0ab8e06..09bc8aaf1 100644
--- a/linux/drivers/media/video/gspca/ov534.c
+++ b/linux/drivers/media/video/gspca/ov534.c
@@ -487,8 +487,9 @@ scan_next:
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;