Commit caf669c9 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix a few warnings

parent c3bc9e66
...@@ -391,7 +391,7 @@ static int announce_SAPAnnounceAdd( sap_handler_t *p_sap, ...@@ -391,7 +391,7 @@ static int announce_SAPAnnounceAdd( sap_handler_t *p_sap,
return VLC_ENOMEM; return VLC_ENOMEM;
} }
p_address->psz_address = strdup( psz_addr ); p_address->psz_address = strdup( psz_addr );
p_address->i_wfd = net_ConnectUDP( p_sap, psz_addr, SAP_PORT, 255 ); p_address->i_wfd = net_ConnectUDP( VLC_OBJECT(p_sap), psz_addr, SAP_PORT, 255 );
if( p_address->i_wfd != -1 ) if( p_address->i_wfd != -1 )
{ {
char *ptr; char *ptr;
......
...@@ -27,6 +27,8 @@ ...@@ -27,6 +27,8 @@
# include <vlc_network.h> # include <vlc_network.h>
# include <vlc_charset.h> # include <vlc_charset.h>
# include "stream_output.h"
# define MAXSDPADDRESS 47 # define MAXSDPADDRESS 47
static static
......
...@@ -101,3 +101,8 @@ int announce_UnRegister( announce_handler_t *p_announce, ...@@ -101,3 +101,8 @@ int announce_UnRegister( announce_handler_t *p_announce,
sap_handler_t *announce_SAPHandlerCreate( announce_handler_t *p_announce ); sap_handler_t *announce_SAPHandlerCreate( announce_handler_t *p_announce );
void announce_SAPHandlerDestroy( sap_handler_t *p_sap ); void announce_SAPHandlerDestroy( sap_handler_t *p_sap );
char *StartSDP (const char *name,
const struct sockaddr *orig, socklen_t origlen,
const struct sockaddr *addr, socklen_t addrlen);
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