[vlc-commits] stream_output: fix compilation warning

Steve Lhomme git at videolan.org
Thu Nov 26 18:11:14 CET 2015


vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Thu Oct 29 16:08:50 2015 +0100| [01615212840645956d55956cb80668d5668d00bd] | committer: Jean-Baptiste Kempf

stream_output: fix compilation warning

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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 ada821f..66bca45 100644
--- a/src/stream_output/stream_output.c
+++ b/src/stream_output/stream_output.c
@@ -617,7 +617,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
 



More information about the vlc-commits mailing list