summaryrefslogtreecommitdiff
path: root/libavformat/udp.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2010-10-07 07:53:31 +0000
committerMartin Storsjö <martin@martin.st>2010-10-07 07:53:31 +0000
commitf63630cdf3f79805c67e98c70177c10f9822b561 (patch)
tree2707be46309596661ddd3af409a670cdd2ed367f /libavformat/udp.c
parent34b9e5bc4f90ddfe559fe77b2b50e090b64ebe75 (diff)
Move multicast address identification fallback macros to network.h from udp.c
Originally committed as revision 25386 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/udp.c')
-rw-r--r--libavformat/udp.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libavformat/udp.c b/libavformat/udp.c
index 58fbe96c3f..c1160cf98c 100644
--- a/libavformat/udp.c
+++ b/libavformat/udp.c
@@ -40,12 +40,6 @@
#define IPV6_ADD_MEMBERSHIP IPV6_JOIN_GROUP
#define IPV6_DROP_MEMBERSHIP IPV6_LEAVE_GROUP
#endif
-#ifndef IN_MULTICAST
-#define IN_MULTICAST(a) ((((uint32_t)(a)) & 0xf0000000) == 0xe0000000)
-#endif
-#ifndef IN6_IS_ADDR_MULTICAST
-#define IN6_IS_ADDR_MULTICAST(a) (((uint8_t *) (a))[0] == 0xff)
-#endif
typedef struct {
int udp_fd;