FreeBSD ipv6 multicast patch from ports tree
authorAlex Beregszaszi <alex@rtfs.hu>
Fri, 12 Aug 2005 14:01:03 +0000 (14:01 +0000)
committerAlex Beregszaszi <alex@rtfs.hu>
Fri, 12 Aug 2005 14:01:03 +0000 (14:01 +0000)
Originally committed as revision 4507 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/udp.c

index 3f3a9f7..ff2885b 100644 (file)
 #endif
 #include <netdb.h>
 
+#ifndef IPV6_ADD_MEMBERSHIP
+#define IPV6_ADD_MEMBERSHIP IPV6_JOIN_GROUP
+#define IPV6_DROP_MEMBERSHIP IPV6_LEAVE_GROUP
+#endif
+
 typedef struct {
     int udp_fd;
     int ttl;