65 char host[1024], path[1024], url[1024];
81 av_strlcpy(host,
"224.2.127.254",
sizeof(host));
92 int addr_type, auth_len;
106 if ((recvbuf[0] & 0xe0) != 0x20) {
112 if (recvbuf[0] & 0x04) {
117 addr_type = recvbuf[0] & 0x10;
118 auth_len = recvbuf[1];
126 if (pos + 4 >= ret) {
130 #define MIME "application/sdp"
131 if (strcmp(&recvbuf[pos],
MIME) == 0) {
132 pos += strlen(
MIME) + 1;
133 }
else if (strncmp(&recvbuf[pos],
"v=0\r\n", 5) == 0) {
188 struct pollfd p = {fd, POLLIN, 0};
196 if (n <= 0 || !(p.revents & POLLIN))
202 if (recvbuf[0] & 0x04 && hash == sap->
hash) {
231 .priv_data_size =
sizeof(
struct SAPState),