[FFmpeg-devel] select interface for multicast messages

Carl Eugen Hoyos cehoyos at ag.or.at
Mon Jan 2 14:40:56 CET 2012


Tudor SUCIU <tudor.suciu <at> gmail.com> writes:

> I used VLC sources in order to duplicate the --miface option so that
> we could receive multicast udp from a specific interface.
> What needs to be done in order to have this patch accepted?

Depending on what you mean with "duplicate" you may need the vlc developer who
wrote it to relicense the code under the LPGL...

[...]

> +#include <net/if.h>

Does this exist wherever you can compile current udp.c?

[...]

> +        memset(&gr, 0, sizeof(struct group_req));
> +        gr.gr_interface = miface_nr;
> +        memcpy(&(gr.gr_group), addr, sizeof(struct sockaddr_in));

Superfluous "()"

Carl Eugen



More information about the ffmpeg-devel mailing list