diff options
author | Jean-Francois Moine <moinejf@free.fr> | 2008-09-29 12:03:06 +0200 |
---|---|---|
committer | Jean-Francois Moine <moinejf@free.fr> | 2008-09-29 12:03:06 +0200 |
commit | 37652be2369266834832ee1fccea03b5afac7161 (patch) | |
tree | c70b93cd830f25ba224d0a0e59af157948d044e7 /linux/drivers/media/video/gspca/t613.c | |
parent | 4a933aa7215adbf5851c96145ed1096d860b45b3 (diff) | |
download | mediapointer-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.c | 2 |
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; |