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);
int max_frames_per_packet
AVStream ** streams
A list of all streams in the file.
AVCodecContext * codec
Codec context associated with this stream.
void ff_rtp_send_aac(AVFormatContext *s1, const uint8_t *buff, int size)
void ff_rtp_send_data(AVFormatContext *s1, const uint8_t *buf1, int len, int m)
void * priv_data
Format private data.