提交 b1043e56 编写于 作者: J Jean-Francois Moine 提交者: Mauro Carvalho Chehab

V4L/DVB (9089): gspca: Remove the duplicated EOF (ff d9) in t613.

Signed-off-by: NJean-Francois Moine <moinejf@free.fr>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 97076859
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册