]> git.sesse.net Git - vlc/commitdiff
mux: avi: don't try to delete failed stream
authorFrancois Cartegnie <fcvlcdev@free.fr>
Sat, 21 Mar 2015 18:27:53 +0000 (19:27 +0100)
committerFrancois Cartegnie <fcvlcdev@free.fr>
Sun, 22 Mar 2015 15:27:50 +0000 (16:27 +0100)
modules/mux/avi.c

index 48d4ca24d1e9fd0a11a705dc828cd55039b1f814..85c6c124b88663b369053e8ae1988ab4cef8a9ed 100644 (file)
@@ -493,6 +493,9 @@ static int Mux      ( sout_mux_t *p_mux )
         int i_count;
         block_fifo_t *p_fifo;
 
+        if (!p_mux->pp_inputs[i]->p_sys)
+            continue;
+
         i_stream = *((int*)p_mux->pp_inputs[i]->p_sys );
         p_stream = &p_sys->stream[i_stream];