aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/t613.c
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2008-09-29 06:03:06 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-10-12 07:37:12 -0400
commitb1043e562ec9e5fe60af85b3a7eea43e77a35994 (patch)
treefda2856677f5cc9a113f98b9432a25142b0bf777 /drivers/media/video/gspca/t613.c
parent97076859590ada76dc4bee46b6ccad86d89e82cf (diff)
V4L/DVB (9089): gspca: Remove the duplicated EOF (ff d9) in t613.
Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca/t613.c')
-rw-r--r--drivers/media/video/gspca/t613.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/t613.c b/drivers/media/video/gspca/t613.c
index 78c674297592..7e435a36b056 100644
--- a/drivers/media/video/gspca/t613.c
+++ b/drivers/media/video/gspca/t613.c
@@ -916,7 +916,7 @@ static void sd_pkt_scan(struct gspca_dev *gspca_dev,
916 return; 916 return;
917 } 917 }
918 918
919 if (data[len - 1] == 0xff && data[len] == 0xd9) { 919 if (data[len - 2] == 0xff && data[len - 1] == 0xd9) {
920 /* Just in case, i have seen packets with the marker, 920 /* Just in case, i have seen packets with the marker,
921 * other's do not include it... */ 921 * other's do not include it... */
922 data += 2; 922 data += 2;