summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/gspca/stk014.c
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2008-12-10 09:22:32 +0100
committerJean-Francois Moine <moinejf@free.fr>2008-12-10 09:22:32 +0100
commit75c268de040f831e8df0037c42868d1fe5fdca03 (patch)
tree7de97c15285b79ad63fe60dc423dc4b2ed85745f /linux/drivers/media/video/gspca/stk014.c
parent97b478e31ccddc358a73628542bb2d32983abeac (diff)
parenteb8aba0ce02c6d663348dfc8c7caaa38af7a6549 (diff)
downloadmediapointer-dvb-s2-75c268de040f831e8df0037c42868d1fe5fdca03.tar.gz
mediapointer-dvb-s2-75c268de040f831e8df0037c42868d1fe5fdca03.tar.bz2
merge: v4l-dvb
Diffstat (limited to 'linux/drivers/media/video/gspca/stk014.c')
-rw-r--r--linux/drivers/media/video/gspca/stk014.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/linux/drivers/media/video/gspca/stk014.c b/linux/drivers/media/video/gspca/stk014.c
index d9d64911f..74f57db53 100644
--- a/linux/drivers/media/video/gspca/stk014.c
+++ b/linux/drivers/media/video/gspca/stk014.c
@@ -424,10 +424,8 @@ static void sd_pkt_scan(struct gspca_dev *gspca_dev,
/* beginning of the frame */
#define STKHDRSZ 12
- gspca_frame_add(gspca_dev, INTER_PACKET, frame,
- data + STKHDRSZ, len - STKHDRSZ);
-#undef STKHDRSZ
- return;
+ data += STKHDRSZ;
+ len -= STKHDRSZ;
}
gspca_frame_add(gspca_dev, INTER_PACKET, frame, data, len);
}