[FFmpeg-devel] [PATCH] Clean up ipv6 vs the udp protocol

Martin Storsjö martin
Tue Jan 12 11:18:05 CET 2010


Hi,

Here's an updated patch that cleans up the ipv6 configure check and 
removes the ipv4 code path from the udp protocol.

Patch 01 was ok'd by Ronald and Luca A.

Patch 02 is a new try, that renames CONFIG_IPV6 into 
CONFIG_IPV6_MULTICAST, removes most of the CONFIG_IPV6 checks in udp.c 
except the ones that explicitly require ipv6 specific structs and defines.

Patch 03 further simplifies the ipv6 multicast check.

This has been tested by compiling on a system where I explicitly removed 
the sockaddr_storage, sockaddr_in6, addrinfo, ipv6_mreq structs and some 
of the IPV6 macros, to force a test of our fallbacks for the structs.

// Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Change-the-parameter-of-is_multicast_address-to-be-s.patch
Type: text/x-diff
Size: 2297 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100112/a90b413d/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Change-CONFIG_IPV6-into-CONFIG_IPV6_MULTICAST.patch
Type: text/x-diff
Size: 6221 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100112/a90b413d/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-In-the-ipv6-multicast-check-don-t-check-for-getaddri.patch
Type: text/x-diff
Size: 838 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100112/a90b413d/attachment-0002.patch>



More information about the ffmpeg-devel mailing list