[vlc-commits] hds: missing const qualifier

Rémi Denis-Courmont git at videolan.org
Sat May 9 10:53:50 CEST 2015


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat May  9 10:27:29 2015 +0300| [ef3e60d41d904911fba9db94c59efc7c67eef42f] | committer: Rémi Denis-Courmont

hds: missing const qualifier

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ef3e60d41d904911fba9db94c59efc7c67eef42f
---

 modules/stream_filter/hds/hds.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/stream_filter/hds/hds.c b/modules/stream_filter/hds/hds.c
index 9a74b67..235921e 100644
--- a/modules/stream_filter/hds/hds.c
+++ b/modules/stream_filter/hds/hds.c
@@ -221,7 +221,7 @@ static int   Read( stream_t *, void *, unsigned );
 static int   Peek( stream_t *, const uint8_t **, unsigned );
 static int   Control( stream_t *, int , va_list );
 
-static inline bool isFQUrl( char* url )
+static inline bool isFQUrl( const char* url )
 {
     return ( NULL != vlc_strcasestr( url, "https://") ||
              NULL != vlc_strcasestr( url, "http://" ) );



More information about the vlc-commits mailing list