Commit 98988dae authored by Clément Stenac's avatar Clément Stenac

Handle multicast like unicast in SAP

I'm really sorry, I couldn't find who sent this patch. Just drop me a mail, I'll add you to the THANKS list.
parent 66f1e9dd
......@@ -1011,14 +1011,8 @@ static int ParseConnection( vlc_object_t *p_obj, sdp_t *p_sdp )
i_port = 1234;
}
if( net_AddressIsMulticast( p_obj, psz_uri ) )
{
asprintf( &p_sdp->psz_uri, "%s://@%s:%i", psz_proto, psz_uri, i_port );
}
else
{
asprintf( &p_sdp->psz_uri, "%s://%s:%i", psz_proto, psz_uri, i_port );
}
asprintf( &p_sdp->psz_uri, "%s://@%s:%i", psz_proto, psz_uri, i_port );
FREE( psz_uri );
FREE( psz_proto );
return VLC_SUCCESS;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment