when retrying set the demux to "" for real. refs #1228
authorChristophe Mutricy <xtophe@videolan.org>
Sat, 17 Nov 2007 19:35:43 +0000 (19:35 +0000)
committerChristophe Mutricy <xtophe@videolan.org>
Sat, 17 Nov 2007 19:35:43 +0000 (19:35 +0000)
src/input/input.c

index fdfda62..c763e12 100644 (file)
@@ -2258,7 +2258,8 @@ static int InputSourceInit( input_thread_t *p_input,
         {
             msg_Dbg( p_input, "retrying with access `' demux `' path `%s'",
                      psz_mrl );
-             in->p_access = access2_New( p_input,
+            psz_demux=strdup(""); 
+            in->p_access = access2_New( p_input,
                                          "", "", psz_mrl,
                                          p_input->b_preparsing );
         }