[vlc-devel] commit: Add const qualifier ( Rémi Denis-Courmont )
git version control
git at videolan.org
Tue Mar 4 19:18:49 CET 2008
vlc | branch: master | Rémi Denis-Courmont <rem at videolan.org> | Tue Mar 4 20:17:57 2008 +0200| [ee264518392b11301aed6bbf32371a748c664e4c]
Add const qualifier
Signed-off-by: Rémi Denis-Courmont <rem at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ee264518392b11301aed6bbf32371a748c664e4c
---
modules/stream_out/rtp.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/stream_out/rtp.c b/modules/stream_out/rtp.c
index 39c07ee..41d9976 100644
--- a/modules/stream_out/rtp.c
+++ b/modules/stream_out/rtp.c
@@ -217,7 +217,7 @@ static void SDPHandleUrl( sout_stream_t *, char * );
static int SapSetup( sout_stream_t *p_stream );
static int FileSetup( sout_stream_t *p_stream );
-static int HttpSetup( sout_stream_t *p_stream, vlc_url_t * );
+static int HttpSetup( sout_stream_t *p_stream, const vlc_url_t * );
struct sout_stream_sys_t
{
@@ -1312,7 +1312,7 @@ static int HttpCallback( httpd_file_sys_t *p_args,
httpd_file_t *, uint8_t *p_request,
uint8_t **pp_data, int *pi_data );
-static int HttpSetup( sout_stream_t *p_stream, vlc_url_t *url)
+static int HttpSetup( sout_stream_t *p_stream, const vlc_url_t *url)
{
sout_stream_sys_t *p_sys = p_stream->p_sys;
More information about the vlc-devel
mailing list