mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-30 13:38:40 +00:00
V4L/DVB: tm6000: audio packet has always 180 bytes
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
a59bff3714
commit
23ba94633d
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user