From d50635dd8a26612a00453ec3a228800050dd5140 Mon Sep 17 00:00:00 2001 From: Laurent Aimar Date: Sat, 1 May 2010 13:12:14 +0200 Subject: [PATCH] Do not remove track informations in DelStream for non http ASF muxing. It fixes #3522. --- modules/mux/asf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/mux/asf.c b/modules/mux/asf.c index 2eacd0a736..165edfb132 100644 --- a/modules/mux/asf.c +++ b/modules/mux/asf.c @@ -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; -- 2.39.2