Browse Source

chromecast: remove useless NULL check

pull/64/merge
Thomas Guillem 9 years ago
parent
commit
c75c369079
  1. 2
      modules/stream_out/chromecast/cast.cpp

2
modules/stream_out/chromecast/cast.cpp

@ -733,7 +733,7 @@ static int Control(sout_stream_t *p_stream, int i_query, va_list args)
{
bool *b = va_arg( args, bool * );
/* check if the Chromecast to be done playing */
*b = p_sys->p_intf == NULL || p_sys->p_intf->isFinishedPlaying();
*b = p_sys->p_intf->isFinishedPlaying();
return VLC_SUCCESS;
}

Loading…
Cancel
Save