Skip to content

Commit

Permalink
V4L/DVB (9089): gspca: Remove the duplicated EOF (ff d9) in t613.
Browse files Browse the repository at this point in the history
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Jean-Francois Moine authored and Mauro Carvalho Chehab committed Oct 12, 2008
1 parent 9707685 commit b1043e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/video/gspca/t613.c
Original file line number Diff line number Diff line change
Expand Up @@ -916,7 +916,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;
Expand Down

0 comments on commit b1043e5

Please sign in to comment.