diff options
author | Diego Biurrun <diego@biurrun.de> | 2007-06-12 07:59:34 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2007-06-12 07:59:34 +0000 |
commit | ea23327b9ccb576f14a64336bee22e70444df501 (patch) | |
tree | f59df0b43f70c0e05dce45f5d364c3ca0d8f5809 | |
parent | 1aa80145c5dbf8f37883c9df22eb53655ef67112 (diff) | |
download | ffmpeg-ea23327b9ccb576f14a64336bee22e70444df501.tar.gz |
Remove unused static function.
Originally committed as revision 9285 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/udp.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/libavformat/udp.c b/libavformat/udp.c index e8721ce734..b906660e01 100644 --- a/libavformat/udp.c +++ b/libavformat/udp.c @@ -46,14 +46,6 @@ typedef struct { #ifdef CONFIG_IPV6 -static int udp_ipv6_is_multicast_address(const struct sockaddr *addr) { - if (addr->sa_family == AF_INET) - return IN_MULTICAST(ntohl(((struct sockaddr_in *)addr)->sin_addr.s_addr)); - if (addr->sa_family == AF_INET6) - return IN6_IS_ADDR_MULTICAST(&((struct sockaddr_in6 *)addr)->sin6_addr); - return -1; -} - static int udp_ipv6_set_multicast_ttl(int sockfd, int mcastTTL, struct sockaddr *addr) { if (addr->sa_family == AF_INET) { if (setsockopt(sockfd, IPPROTO_IP, IP_MULTICAST_TTL, &mcastTTL, sizeof(mcastTTL)) < 0) { |