[vlc-commits] mux: avi: don't try to delete failed stream

Francois Cartegnie git at videolan.org
Sun Mar 22 16:28:01 CET 2015


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sat Mar 21 19:27:53 2015 +0100| [2ea39ff02531074beb12bd8e4e038c01eb2e8380] | committer: Francois Cartegnie

mux: avi: don't try to delete failed stream

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2ea39ff02531074beb12bd8e4e038c01eb2e8380
---

 modules/mux/avi.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/mux/avi.c b/modules/mux/avi.c
index 48d4ca2..85c6c12 100644
--- a/modules/mux/avi.c
+++ b/modules/mux/avi.c
@@ -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];
 



More information about the vlc-commits mailing list