Commit ec5bc33a authored by Jai Menon's avatar Jai Menon Committed by Jean-Baptiste Kempf

AVI : Don't free uninitialized ES format descriptor for DV muxed in AVI.

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
(cherry picked from commit adeaefc878674b3f79b935cb406d8fea9da9de54)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 1c26d070
...@@ -589,7 +589,10 @@ static int Open( vlc_object_t * p_this ) ...@@ -589,7 +589,10 @@ static int Open( vlc_object_t * p_this )
if( tk->p_out_muxed == NULL ) if( tk->p_out_muxed == NULL )
tk->p_es = es_out_Add( p_demux->out, &fmt ); tk->p_es = es_out_Add( p_demux->out, &fmt );
TAB_APPEND( p_sys->i_track, p_sys->track, tk ); TAB_APPEND( p_sys->i_track, p_sys->track, tk );
es_format_Clean( &fmt ); if(!p_sys->b_muxed )
{
es_format_Clean( &fmt );
}
} }
if( p_sys->i_track <= 0 ) if( p_sys->i_track <= 0 )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment