Lines Matching defs:dest_addr
57 static void sdp_write_address(char *buff, int size, const char *dest_addr,
60 if (dest_addr) {
66 av_strlcatf(buff, size, "c=IN %s %s/%d\r\n", dest_type, dest_addr, ttl);
68 av_strlcatf(buff, size, "c=IN %s %s\r\n", dest_type, dest_addr);
88 static int resolve_destination(char *dest_addr, int size, char *type,
95 if (!dest_addr[0])
102 if (getaddrinfo(dest_addr, NULL, &hints, &ai))
104 getnameinfo(ai->ai_addr, ai->ai_addrlen, dest_addr, size,
115 static int resolve_destination(char *dest_addr, int size, char *type,
122 static int sdp_get_address(char *dest_addr, int size, int *ttl, const char *url)
128 av_url_split(proto, sizeof(proto), NULL, 0, dest_addr, size, &port, NULL, 0, url);
555 void ff_sdp_write_media(char *buff, int size, AVCodecContext *c, const char *dest_addr, const char *dest_type, int port, int ttl, AVFormatContext *fmt)
570 sdp_write_address(buff, size, dest_addr, dest_type, ttl);
641 void ff_sdp_write_media(char *buff, int size, AVCodecContext *c, const char *dest_addr, const char *dest_type, int port, int ttl, AVFormatContext *fmt)