]> git.sesse.net Git - vlc/commitdiff
fix use of uninitialized variable on error
authorLudovic Fauvet <etix@videolan.org>
Fri, 31 Aug 2012 00:37:15 +0000 (02:37 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Fri, 31 Aug 2012 06:18:18 +0000 (09:18 +0300)
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
src/input/input.c

index aabb3d6d68e0b530808b62cb348e3779eff0a86f..afc01ad67d3dc064124f681d391092fb66785722 100644 (file)
@@ -2345,7 +2345,7 @@ static int InputSourceInit( input_thread_t *p_input,
                             input_source_t *in, const char *psz_mrl,
                             const char *psz_forced_demux, bool b_in_can_fail )
 {
-    const char *psz_access, *psz_demux, *psz_path, *psz_anchor;
+    const char *psz_access, *psz_demux, *psz_path, *psz_anchor = NULL;
     char *psz_var_demux = NULL;
     double f_fps;