Commit 058cf75a authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

demux/dummy: No need to check for playlist availability. (Also fix #1543)

This is a bit contriversial, but libvlc actually uses vlc://nop, and this without a playlist.
parent 61751385
......@@ -203,11 +203,8 @@ void CloseDemux ( vlc_object_t *p_this )
static int Demux( demux_t *p_demux )
{
demux_sys_t *p_sys = p_demux->p_sys;
playlist_t *p_playlist;
bool b_eof = false;
p_playlist = pl_Yield( p_demux );
switch( p_sys->i_command )
{
case COMMAND_QUIT:
......@@ -228,7 +225,6 @@ static int Demux( demux_t *p_demux )
break;
}
vlc_object_release( p_playlist );
return b_eof ? 0 : 1;
}
......
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