[FFmpeg-devel] [PATCH] Make RTP work with IPv6 enabled v.2
Sun Oct 28 18:24:17 CET 2007
On Sun, Oct 28, 2007 at 12:18:54PM -0400, Ronald S. Bultje wrote:
> On 10/28/07, Ronald S. Bultje <rsbultje at gmail.com> wrote:
> > 3 - ffmpeg-udp-connect_and_send.patch - replaces sendto() by connect() and
> > send(), which makes it work for MacOSX, where for some reason sendto() fails
> > with EINVAL (undocumented) for no obvious reason, where connect() and send()
> > with the same parameters works just fine. recvfrom() stays the way it is
> > because the man page suggests so.
> Attached is a better version.
> +printf("Set remote: %s\n", uri);
> #ifdef CONFIG_IPV6
> - return udp_ipv6_set_remote_url(h, uri);
> + int ret = udp_ipv6_set_remote_url(h, uri);
besides that you break stdout output, the int ret will break gcc 2.95
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
I do not agree with what you have to say, but I'll defend to the death your
right to say it. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
More information about the ffmpeg-devel