diff --git a/src/stream_output/announce.c b/src/stream_output/announce.c index 7c8086432c1b685258db95771441839a986ad686..395c0a2dce571e3afc245bfc238642b6891b383d 100644 --- a/src/stream_output/announce.c +++ b/src/stream_output/announce.c @@ -141,7 +141,9 @@ sap_session_t * sout_SAPNew ( sout_instance_t *p_sout , return NULL; } +#ifndef WIN32 i_status = inet_pton(AF_INET6,sap_ipv6_addr,net_ipv6_addr); +#endif if(i_status < 0 ) { msg_Warn(p_sout,"Unable to convert address to network format");