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

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
Mauro Carvalho Chehab 2010-06-07 11:57:28 -03:00
parent a59bff3714
commit 23ba94633d

View File

@ -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 {