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

Nico Sabbi nsabbi at tiscali.it
Fri Jun 18 16:41:39 CEST 2004


Sascha Sommer wrote:

>>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
>
>  
>

what about my patch that permitted to compile rtp:// and LIVE at the 
same time?
Now it won't apply anymore, but I may resend it if someone is willing to 
apply it.

        Nico




More information about the MPlayer-dev-eng mailing list