[FFmpeg-devel] [PATCH] IPv6 support v.2

Ronald S. Bultje rsbultje
Sun Nov 25 05:48:57 CET 2007


Hi,

On Nov 13, 2007 11:38 AM, Luca Abeni <lucabe72 at email.it> wrote:

> >> I generated the patches in a short time, so maybe some of them can have
> >> typos or can be written in a better way, but I believe they show how to
> >> remove duplicated code without (hopefully :) breaking anything.
> >>
> >> - address-len.diff removes some stupid ifdef by using the dest_addr_len
> >>   field in both the IPv4-only and the generic code. In this way, we
> >> decrease
> >>   the differences between the two cases
>
[..]

So now that all those are applied, what's step2? I mean, all this
re-arranging of a few lines is fun, but the rest of ffmpeg still doesn't
speak ipv6, my patches are not going in so that's apparently not right
either, and there's no clear outline of where this is going. We need a plan
and action. This "let's do nothing and wait for the Right Solution[tm] to
come in" isn't working.

- in os_support.c, resolve_host() needs to be converted to be
ipv6-compatible or removed; the inet_aton() backup needs to be removed
- all duplicate code in udp.c needs to be removed, right now it's just
duplicated even more
- tcp.c, ffserver, sdp.c, rtsp.c need to speak ipv6
- api needs to be able to return sensible error codes and applications need
to be able to report those

Any plans?

Ronald




More information about the ffmpeg-devel mailing list