Commit 12265bc7 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Remove useless check and assignment

parent 91077396
......@@ -468,11 +468,10 @@ static void Close( vlc_object_t *p_this )
static void CloseDemux( vlc_object_t *p_this )
{
demux_t *p_demux = (demux_t *)p_this;
if( p_demux->p_sys )
{
if( p_demux->p_sys->p_sdp ) { FreeSDP( p_demux->p_sys->p_sdp ); p_demux->p_sys->p_sdp = NULL; }
free( p_demux->p_sys );
}
if( p_demux->p_sys->p_sdp )
FreeSDP( p_demux->p_sys->p_sdp );
free( p_demux->p_sys );
}
/*****************************************************************************
......
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