summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/gspca/t613.c
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2008-09-29 12:03:06 +0200
committerJean-Francois Moine <moinejf@free.fr>2008-09-29 12:03:06 +0200
commit37652be2369266834832ee1fccea03b5afac7161 (patch)
treec70b93cd830f25ba224d0a0e59af157948d044e7 /linux/drivers/media/video/gspca/t613.c
parent4a933aa7215adbf5851c96145ed1096d860b45b3 (diff)
downloadmediapointer-dvb-s2-37652be2369266834832ee1fccea03b5afac7161.tar.gz
mediapointer-dvb-s2-37652be2369266834832ee1fccea03b5afac7161.tar.bz2
gspca: Remove the duplicated EOF (ff d9) in t613.
From: Jean-Francois Moine <moinejf@free.fr> Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Diffstat (limited to 'linux/drivers/media/video/gspca/t613.c')
-rw-r--r--linux/drivers/media/video/gspca/t613.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/gspca/t613.c b/linux/drivers/media/video/gspca/t613.c
index 665a783aa..06f3b8718 100644
--- a/linux/drivers/media/video/gspca/t613.c
+++ b/linux/drivers/media/video/gspca/t613.c
@@ -939,7 +939,7 @@ static void sd_pkt_scan(struct gspca_dev *gspca_dev,
return;
}
- if (data[len - 1] == 0xff && data[len] == 0xd9) {
+ if (data[len - 2] == 0xff && data[len - 1] == 0xd9) {
/* Just in case, i have seen packets with the marker,
* other's do not include it... */
data += 2;