67 char host[1024], path[1024], url[1024];
83 av_strlcpy(host,
"224.2.127.254",
sizeof(host));
94 int addr_type, auth_len;
108 if ((recvbuf[0] & 0xe0) != 0x20) {
114 if (recvbuf[0] & 0x04) {
119 addr_type = recvbuf[0] & 0x10;
120 auth_len = recvbuf[1];
128 if (pos + 4 >= ret) {
132 #define MIME "application/sdp"
133 if (strcmp(&recvbuf[pos],
MIME) == 0) {
134 pos += strlen(
MIME) + 1;
135 }
else if (strncmp(&recvbuf[pos],
"v=0\r\n", 5) == 0) {
194 struct pollfd p = {fd, POLLIN, 0};
202 if (n <= 0 || !(p.revents & POLLIN))
208 if (recvbuf[0] & 0x04 && hash == sap->
hash) {
237 .priv_data_size =
sizeof(
struct SAPState),