[vlc-devel] [PATCH 1/2] stream_output: fix compilation warning

Steve Lhomme robux4 at videolabs.io
Thu Oct 29 16:08:50 CET 2015


---
 src/stream_output/stream_output.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/stream_output/stream_output.c b/src/stream_output/stream_output.c
index fac281e..7085e79 100644
--- a/src/stream_output/stream_output.c
+++ b/src/stream_output/stream_output.c
@@ -614,7 +614,7 @@ static int mrl_Parse( mrl_t *p_mrl, const char *psz_mrl )
     {
         /* msg_Warn( p_sout, "drive letter %c: found in source string",
                           *psz_dup ) ; */
-        psz_parser = "";
+        *psz_parser = '\0';
     }
 #endif
 
-- 
2.6.2



More information about the vlc-devel mailing list