73 int f, p, i, sbit, ebit,
src,
r;
99 r = ((buf[1] & 0x01) << 3) | ((buf[2] & 0xe0) >> 5);
103 if (len < header_size) {
105 "Too short H.263 RTP packet: %d bytes, %d header bytes\n",
114 if (len < header_size) {
116 "Too short H.263 RTP packet: %d bytes, %d header bytes\n",
123 sbit = (buf[0] >> 3) & 0x7;
125 src = (buf[1] & 0xe0) >> 5;
126 if (!(buf[0] & 0xf8)) {
127 if ((src == 0 || src >= 6) &&
r) {
131 "Interpreting H263 RTP data as RFC 2429/4629 even though "
132 "signalled with a static payload type.\n");
145 if (len > 4 &&
AV_RB32(buf) >> 10 == 0x20) {
158 data->
endbyte |= buf[0] & (0xff >> sbit);
186 data->
endbyte = buf[len - 1] & (0xff << ebit);
214 .static_payload_id = 34,