[vlc-devel] [PATCH 1/2] AVI : Don't free uninitialized ES format descriptor for DV muxed in AVI.
Jai Menon
jmenon86 at gmail.com
Mon May 24 20:53:50 CEST 2010
---
modules/demux/avi/avi.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/modules/demux/avi/avi.c b/modules/demux/avi/avi.c
index c00a3db..d90368c 100644
--- a/modules/demux/avi/avi.c
+++ b/modules/demux/avi/avi.c
@@ -589,7 +589,9 @@ static int Open( vlc_object_t * p_this )
if( tk->p_out_muxed == NULL )
tk->p_es = es_out_Add( p_demux->out, &fmt );
TAB_APPEND( p_sys->i_track, p_sys->track, tk );
+ if( !p_sys->b_muxed ) {
es_format_Clean( &fmt );
+ }
}
if( p_sys->i_track <= 0 )
--
1.7.0.5
More information about the vlc-devel
mailing list