Commit 8bdfa41e authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf

chromecast:sout: fix crash when pf_control is NULL

parent cbc6fd07
......@@ -145,6 +145,9 @@ static int Control(sout_stream_t *p_stream, int i_query, va_list args)
{
sout_stream_sys_t *p_sys = p_stream->p_sys;
if ( !p_sys->p_out->pf_control )
return VLC_EGENERIC;
return p_sys->p_out->pf_control( p_sys->p_out, i_query, args );
}
......
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