Commit c75c3690 authored by Thomas Guillem's avatar Thomas Guillem

chromecast: remove useless NULL check

parent 4f05cf3c
......@@ -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;
}
......
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