aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2005-08-12 14:01:03 +0000
committerAlex Beregszaszi <alex@rtfs.hu>2005-08-12 14:01:03 +0000
commit9c633e9a6f6630d7a030256602da4acfa9773e04 (patch)
tree34c64f2f7e392a4a76ebd2829fcab77e07447d38 /libavformat
parent597cad6a04b5d8940dbb8f6be32ae974c8d19eed (diff)
downloadffmpeg-9c633e9a6f6630d7a030256602da4acfa9773e04.tar.gz
FreeBSD ipv6 multicast patch from ports tree
Originally committed as revision 4507 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/udp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavformat/udp.c b/libavformat/udp.c
index 3f3a9f760b..ff2885b19b 100644
--- a/libavformat/udp.c
+++ b/libavformat/udp.c
@@ -28,6 +28,11 @@
#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;