[FFmpeg-devel] [PATCH] Make RTP work with IPv6 enabled

Ronald S. Bultje rsbultje
Mon Oct 29 14:37:01 CET 2007


On 10/29/07, Ronald S. Bultje <rsbultje at gmail.com> wrote:
> I did, millions of times, I don't understand it either, but they are
> really the same and they are correct. The sendto() fails and the connect()
> and send() are fine. I can not possibly imagine anything that could cause
> this either. I could imagine random data corruption somewhere else because
> of a memory overflow in ffserver, I haven't checked for that yet. I'll play
> with libgmalloc (valgrind for MacOSX or so, apparently) and see if I get
> something.

libgmalloc is also negative, all is OK. Very depressing. I did find
something, we may be mixing up address families, because the bind() is done
on localhost "0" (which translates to an ipv6-equivalent of localhost),
whereas we sendto() the ipv4-equivalent of localhost. I'm guessing that may
cause breakage, I'll test that theory sometime tonight or next weekend.

Still no idea why the connect() would make it work, though, since the
connect() also takes place after the bind() and should thus fail


More information about the ffmpeg-devel mailing list