54 int f, p, i, sbit, ebit,
src,
r;
78 r = ((buf[1] & 0x01) << 3) | ((buf[2] & 0xe0) >> 5);
82 if (len < header_size) {
84 "Too short H.263 RTP packet: %d bytes, %d header bytes\n",
93 if (len < header_size) {
95 "Too short H.263 RTP packet: %d bytes, %d header bytes\n",
102 sbit = (buf[0] >> 3) & 0x7;
104 src = (buf[1] & 0xe0) >> 5;
105 if (!(buf[0] & 0xf8)) {
106 if ((src == 0 || src >= 6) &&
r) {
110 "Interpreting H263 RTP data as RFC 2429/4629 even though "
111 "signalled with a static payload type.\n");
124 if (len > 4 &&
AV_RB32(buf) >> 10 == 0x20) {
137 data->
endbyte |= buf[0] & (0xff >> sbit);
165 data->
endbyte = buf[len - 1] & (0xff << ebit);
193 .static_payload_id = 34,