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

Martin Storsjö martin
Tue Jan 12 12:35:42 CET 2010


On Tue, 12 Jan 2010, Luca Abeni wrote:

> > But yes, we could switch to checking for individual types, instead. Then
> > we'd have to check for both "struct ipv6_mreq" and "struct sockaddr_in6"
> > (unless you assume ipv6_mreq implies sockaddr_in6). Do you prefer that?
> 
> Yes, I believe this (checking for individual data types, and switching
> from "CONFIG_*" to "HAVE_*") would be the best solution.

Ok, so what about the attached version, then? (This requires 0001 from the 
series earlier in this thread, but replaces 0002 and 0003.)

Compilation tested on linux/osx/mingw and hacked mingw-headers without any 
ipv6 structs at all.

// Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: split-config-ipv6.patch
Type: text/x-diff
Size: 6643 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100112/e963a7b7/attachment.patch>



More information about the ffmpeg-devel mailing list