Commit c4a2920f authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

Add const

parent 36f1aa05
......@@ -336,7 +336,7 @@ static inline char *sout_cfg_find_value( sout_cfg_t *p_cfg, char *psz_name )
/* Announce system */
VLC_EXPORT( int, sout_AnnounceRegister, (sout_instance_t *,session_descriptor_t*, announce_method_t* ) );
VLC_EXPORT(session_descriptor_t*,sout_AnnounceRegisterSDP, (sout_instance_t *,char *, announce_method_t* ) );
VLC_EXPORT(session_descriptor_t*,sout_AnnounceRegisterSDP, (sout_instance_t *,const char *, announce_method_t* ) );
VLC_EXPORT( int, sout_AnnounceUnRegister, (sout_instance_t *,session_descriptor_t* ) );
VLC_EXPORT(session_descriptor_t*,sout_AnnounceSessionCreate, (void) );
......
......@@ -126,7 +126,7 @@ struct module_symbols_t
sout_stream_t * (*sout_StreamNew_inner) (sout_instance_t *, char *psz_chain);
void (*sout_StreamDelete_inner) (sout_stream_t *);
int (*sout_AnnounceRegister_inner) (sout_instance_t *,session_descriptor_t*, announce_method_t*);
session_descriptor_t* (*sout_AnnounceRegisterSDP_inner) (sout_instance_t *,char *, announce_method_t*);
session_descriptor_t* (*sout_AnnounceRegisterSDP_inner) (sout_instance_t *,const char *, announce_method_t*);
int (*sout_AnnounceUnRegister_inner) (sout_instance_t *,session_descriptor_t*);
session_descriptor_t* (*sout_AnnounceSessionCreate_inner) (void);
void (*sout_AnnounceSessionDestroy_inner) (session_descriptor_t *);
......
......@@ -87,7 +87,7 @@ int sout_AnnounceRegister( sout_instance_t *p_sout,
* \return the new session descriptor structure
*/
session_descriptor_t *sout_AnnounceRegisterSDP( sout_instance_t *p_sout,
char *psz_sdp, announce_method_t *p_method )
const char *psz_sdp, announce_method_t *p_method )
{
session_descriptor_t *p_session;
announce_handler_t *p_announce = (announce_handler_t*)
......
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