[FFmpeg-devel] UDP multicasts mixed up on receive due to wrong bind()
Michael Niedermayer
michaelni
Tue Nov 25 00:52:53 CET 2008
On Wed, Nov 12, 2008 at 09:52:38AM +0100, Luca Abeni wrote:
> Hi,
>
> Jindrich Makovicka wrote:
> [...]
> >>> Can we fix this issue ?
> >> AFAIR, what we miss is a patch that works on as many systems as possible.
> >> I think we arrived to the conclusion that the best thing to do is:
> >> first, try to bind the multicast group; then, if the first bind fails,
> >> try to bind INADDR_ANY. Both Jindrich's patch and my one are missing
> >> the second part...
> >
> > This version tries the binding of the local address if the multicast
> > bind fails. I didn't test it on windows though.
>
> This looks fine.
> I am not udp.c maintainer,
Do you mind if i change this?
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Complexity theory is the science of finding the exact solution to an
approximation. Benchmarking OTOH is finding an approximation of the exact
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081125/15d2234a/attachment.pgp>
More information about the ffmpeg-devel
mailing list