mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-05 22:33:37 +00:00
avformat/udp: remove IPPROTO_IPV6 macro
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
This commit is contained in:
parent
268d00bb87
commit
e8f439631f
@ -175,7 +175,7 @@ static int udp_set_multicast_ttl(int sockfd, int mcastTTL,
|
||||
cmd = IP_MULTICAST_TTL;
|
||||
break;
|
||||
#endif
|
||||
#if defined(IPPROTO_IPV6) && defined(IPV6_MULTICAST_HOPS)
|
||||
#ifdef IPV6_MULTICAST_HOPS
|
||||
case AF_INET6:
|
||||
protocol = IPPROTO_IPV6;
|
||||
cmd = IPV6_MULTICAST_HOPS;
|
||||
|
Loading…
Reference in New Issue
Block a user