Commit 6ab31aa0 authored by Thomas Guillem's avatar Thomas Guillem

ogg: remove deadcode

mux->i_nb_inputs is always 0 from the Close callback
parent 107f5e01
......@@ -287,13 +287,6 @@ static void Close( vlc_object_t * p_this )
/* Close the current ogg stream */
msg_Dbg( p_mux, "writing footers" );
for(int i = 0; i < p_mux->i_nb_inputs; i++ )
{
p_stream = (ogg_stream_t *) p_mux->pp_inputs[i]->p_sys;
OggCreateStreamFooter( p_mux, p_stream );
free( p_stream->skeleton.p_index );
}
/* Remove deleted logical streams */
for(int i = 0; i < p_sys->i_del_streams; i++ )
{
......
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