28 int len, max_packet_size;
45 p = s->
buf + max_au_headers_size - au_size - 2;
47 memmove(p + 2, s->
buf + 2, au_size);
51 p[1] = (au_size & 0x1F) << 3;
62 if (size <= max_packet_size) {
65 *p = (size & 0x1F) << 3;
76 len =
FFMIN(size, max_packet_size);
78 p[3] = (au_size & 0x1F) << 3;
79 memcpy(p + 4, buff, len);