68 int interleave_size, interleave_index;
75 interleave_size = buf[0] >> 3 & 7;
76 interleave_index = buf[0] & 7;
78 if (interleave_size > 5) {
83 if (interleave_index > interleave_size) {
85 interleave_index, interleave_size);
93 for (i = 0; i < 6; i++)
97 if (interleave_index < data->interleave_index) {
132 if (1 + frame_size > len)
135 if (len - 1 - frame_size >
sizeof(data->
group[0].
data))
140 memcpy(pkt->
data, &buf[1], frame_size);
146 memcpy(ip->
data, &buf[1 + frame_size], ip->
size);
152 if (interleave_index == interleave_size) {
187 if (ip->
pos + frame_size > ip->
size)
217 return store_packet(ctx, data, st, pkt, timestamp, buf, len);
226 .static_payload_id = 12,