25 #define RTP_H261_HEADER_SIZE 4
28 const uint8_t *restrict end)
30 const uint8_t *p = end - 1;
32 for (; p > start; p--) {
33 if (p[0] == 0 && p[1] == 1)
42 int last_packet_of_frame;
74 if (
frame_size < 2 || frame_buf[0] != 0 || frame_buf[1] != 1) {
80 "RTP/H.261 packet not cut at a GOB boundary, not signaled correctly\n");
88 frame_buf + cur_frame_size);
89 cur_frame_size = packet_end - frame_buf;
93 last_packet_of_frame = cur_frame_size ==
frame_size;
99 frame_buf += cur_frame_size;