[FFmpeg-devel] Strange code in libavformat/udp.c:udp_open()
Thijs Vermeir
thijsvermeir
Fri Jul 13 17:00:21 CEST 2007
Hi
On 7/13/07, Luca Abeni <lucabe72 at email.it> wrote:
> Hi all,
>
> in libavformat/udp.c:udp_open() there is something like:
> s->is_multicast = find_info_tag(buf, sizeof(buf), "multicast", p);
> does anyone know why "is_multicast" is not set according to the
> destination IP address (using the IN_MULTICAST() macro)?
>
> If people agree that this is a good idea, next week I'll post a patch
> for using IN_MULTICAST() instead of the redundant "multicast" tag.
>
>
I think this is a good point and this will also make it easier for
users of the libs to connect to a stream without carrying if it is
unicast or multicast.
Gr,
Thijs
More information about the ffmpeg-devel
mailing list