- if( pl_priv(p_playlist)->p_input &&
- var_GetInteger( pl_priv(p_playlist)->p_input, "state" ) == PAUSE_S )
+ if( !pl_priv(p_playlist)->p_input )
+ { /* FIXME: is this really useful without input? */
+ pl_priv(p_playlist)->status.i_status = PLAYLIST_PAUSED;
+ break;
+ }
+
+ if( var_GetInteger( pl_priv(p_playlist)->p_input, "state" ) == PAUSE_S )