[vlc-devel] commit: sout_MuxNew: constify. ( Rémi Duraffort )
git version control
git at videolan.org
Thu Oct 15 15:00:48 CEST 2009
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Thu Oct 15 10:30:21 2009 +0200| [0ee587bc62600f7951547e2dded821d9db61f52e] | committer: Rémi Duraffort
sout_MuxNew: constify.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0ee587bc62600f7951547e2dded821d9db61f52e
---
include/vlc_sout.h | 2 +-
src/stream_output/stream_output.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/vlc_sout.h b/include/vlc_sout.h
index f74fe9f..e35d5e9 100644
--- a/include/vlc_sout.h
+++ b/include/vlc_sout.h
@@ -178,7 +178,7 @@ struct sout_input_t
};
-VLC_EXPORT( sout_mux_t *, sout_MuxNew, ( sout_instance_t*, char *, sout_access_out_t * ) );
+VLC_EXPORT( sout_mux_t *, sout_MuxNew, ( sout_instance_t*, const char *, sout_access_out_t * ) );
VLC_EXPORT( sout_input_t *, sout_MuxAddStream, ( sout_mux_t *, es_format_t * ) );
VLC_EXPORT( void, sout_MuxDeleteStream, ( sout_mux_t *, sout_input_t * ) );
VLC_EXPORT( void, sout_MuxDelete, ( sout_mux_t * ) );
diff --git a/src/stream_output/stream_output.c b/src/stream_output/stream_output.c
index a6672de..d3ed7eb 100644
--- a/src/stream_output/stream_output.c
+++ b/src/stream_output/stream_output.c
@@ -404,7 +404,7 @@ int sout_AccessOutControl (sout_access_out_t *access, int query, ...)
/*****************************************************************************
* sout_MuxNew: create a new mux
*****************************************************************************/
-sout_mux_t * sout_MuxNew( sout_instance_t *p_sout, char *psz_mux,
+sout_mux_t * sout_MuxNew( sout_instance_t *p_sout, const char *psz_mux,
sout_access_out_t *p_access )
{
static const char typename[] = "mux";
More information about the vlc-devel
mailing list