]> git.sesse.net Git - vlc/blobdiff - modules/mux/asf.c
Do not remove track informations in DelStream for non http ASF muxing.
[vlc] / modules / mux / asf.c
index 2eacd0a736f562d9db25257534b3baef94d467f6..165edfb13209af52b4b66f76011aa0043d206674 100644 (file)
@@ -662,7 +662,8 @@ static int DelStream( sout_mux_t *p_mux, sout_input_t *p_input )
         }
     }
 
-    vlc_array_remove( p_sys->p_tracks, vlc_array_index_of_item( p_sys->p_tracks, (void *)tk ) );
+    if( p_sys->b_asf_http )
+        vlc_array_remove( p_sys->p_tracks, vlc_array_index_of_item( p_sys->p_tracks, (void *)tk ) );
 
 
     p_sys->b_write_header = true;