[FFmpeg-devel] Removing the "multicast=" tag from UDP URLs

Luca Abeni lucabe72
Tue Apr 15 11:56:00 CEST 2008


Hi Luca,

Luca Barbato wrote:
>> Aren't the "#ifdef IN_MULTICAST" and "#ifdef IN6_IS_ADDR_MULTICAST" enough?
> 
> Something like this:
> 
> #ifndef IN6_IS_ADDR_MULTICAST
> #define IN6_IS_ADDR_MULTICAST(a) ((a)->s6_addr[0] == 0xff)
> #endif

Ok; I'll fix my patch in this way and commit it.


>> BTW: I just noticed a bigger problem with rtpproto.c: it sometimes uses
>> odd source ports for RTP streams (see the "XXX: need to open another
>> connection if the port is not even" comment in rtp_open).
> 
> Alessandro told me that too, we should start cleaning up and do some 
> more interop testing between the now many different rtsp/rtp 
> implementations ^^;

Yes, that would be a great idea. I generally test libavformat with live555
and vlc, but more tests are surely needed.


				Luca




More information about the ffmpeg-devel mailing list