From 9c633e9a6f6630d7a030256602da4acfa9773e04 Mon Sep 17 00:00:00 2001
From: Alex Beregszaszi <alex@rtfs.hu>
Date: Fri, 12 Aug 2005 14:01:03 +0000
Subject: [PATCH] FreeBSD ipv6 multicast patch from ports tree

Originally committed as revision 4507 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavformat/udp.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/libavformat/udp.c b/libavformat/udp.c
index 3f3a9f760bb..ff2885b19b5 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;
-- 
GitLab