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;
53 if (size >= 2 && (buf1[0] == 0) && (buf1[1] == 0)) {
62 len =
FFMIN(max_packet_size - 2, size);
static av_cold int end(AVCodecContext *avctx)
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_data(AVFormatContext *s1, const uint8_t *buf1, int len, int m)
void ff_rtp_send_h263(AVFormatContext *s1, const uint8_t *buf1, int size)
Packetize H.263 frames into RTP packets according to RFC 4629.
void * priv_data
Format private data.