31 for (; p > start; p -= 2) {
33 if (!p[ 1] && p[2])
return p;
34 else if (!p[-1] && p[1])
return p - 1;
46 int len, max_packet_size;
49 max_packet_size =
s->max_payload_size;
53 if (
size >= 2 && (buf1[0] == 0) && (buf1[1] == 0)) {
75 s->timestamp =
s->cur_timestamp;
void ff_rtp_send_data(AVFormatContext *s1, const uint8_t *buf1, int len, int m)
const uint8_t * ff_h263_find_resync_marker_reverse(const uint8_t *av_restrict start, const uint8_t *av_restrict end)
void ff_rtp_send_h263(AVFormatContext *s1, const uint8_t *buf1, int size)
Packetize H.263 frames into RTP packets according to RFC 4629.