[FFmpeg-devel] [PATCH] Make RTP work with IPv6 enabled v.2
Ronald S. Bultje
Sun Oct 28 18:36:16 CET 2007
On 10/28/07, Michael Niedermayer <michaelni at gmx.at> wrote:
> 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()
> > > send(), which makes it work for MacOSX, where for some reason sendto()
> > > with EINVAL (undocumented) for no obvious reason, where connect() and
> > > with the same parameters works just fine. recvfrom() stays the way it
> > > 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
Oops, that was left from debugging... Better version attached.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2423 bytes
Desc: not available
More information about the ffmpeg-devel