58 int interleave_size, interleave_index;
65 interleave_size = buf[0] >> 3 & 7;
66 interleave_index = buf[0] & 7;
68 if (interleave_size > 5) {
73 if (interleave_index > interleave_size) {
75 interleave_index, interleave_size);
83 for (i = 0; i < 6; i++)
87 if (interleave_index < data->interleave_index) {
122 if (1 + frame_size > len)
125 if (len - 1 - frame_size >
sizeof(data->
group[0].
data))
130 memcpy(pkt->
data, &buf[1], frame_size);
136 memcpy(ip->
data, &buf[1 + frame_size], ip->
size);
142 if (interleave_index == interleave_size) {
177 if (ip->
pos + frame_size > ip->
size)
207 return store_packet(ctx, data, st, pkt, timestamp, buf, len);
217 .static_payload_id = 12,