[MPlayer-dev-eng] [PATCH] RTP support under Windows

Sascha Sommer saschasommer at freenet.de
Fri Jun 18 16:32:51 CEST 2004


> Hello folks,
> 
> this is a patch which fixes the "Failed to connect to server" bug while 
> using the non-LIVE.COM RTP implementation in Windows. All the important 
> changes are within #ifdef HAVE_WINSOCK2 ... #endif, thus won't 
> change/break anything on Linux or other platforms. So they can be 
> accepted without fears.
> 
> There are actually two patches attached, the first one fixes just one 
> case of the problem (when using an IP address in the URL, not a symbolic 
> name), but is much shorter and gives a good image of the actual change.
> 
> The problem was caused by using the given multicast address as sin_addr 
> for calling bind(). This is OK on Linux, but creates "Address not valid"
> error on Windows. INADDR_ANY should be used instead.
> 
> Both patches are against current CVS.
> 
Applied.

Sascha




More information about the MPlayer-dev-eng mailing list