* Preamble
*****************************************************************************/
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <vlc/vlc.h>
#include <vlc_sout.h>
#include <vlc_block.h>
for( i = 0; i < p_sys->i_nb_streams; i++ )
{
sout_StreamDelete( p_sys->pp_streams[i] );
- if( p_sys->ppsz_select[i] )
- {
- free( p_sys->ppsz_select[i] );
- }
- }
- if( p_sys->pp_streams )
- {
- free( p_sys->pp_streams );
- }
- if( p_sys->ppsz_select )
- {
- free( p_sys->ppsz_select );
+ free( p_sys->ppsz_select[i] );
}
+ free( p_sys->pp_streams );
+ free( p_sys->ppsz_select );
free( p_sys );
}