提交 23ba9463 编写于 作者: M Mauro Carvalho Chehab

V4L/DVB: tm6000: audio packet has always 180 bytes

Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 a59bff37
......@@ -239,6 +239,7 @@ static int copy_streams(u8 *data, unsigned long len,
header = *(unsigned long *)ptr;
ptr += 4;
}
/* split the header fields */
c = (header >> 24) & 0xff;
size = ((header & 0x7e) << 1);
......@@ -280,9 +281,11 @@ static int copy_streams(u8 *data, unsigned long len,
cmd = TM6000_URB_MSG_ERR;
dev->isoc_ctl.vfield = field;
break;
case TM6000_URB_MSG_AUDIO:
case TM6000_URB_MSG_VBI:
break;
case TM6000_URB_MSG_AUDIO:
case TM6000_URB_MSG_PTS:
cpysize = pktsize; /* Size is always 180 bytes */
break;
}
} else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册