Commit 2dce8e0c authored by Sébastien Escudier's avatar Sébastien Escudier

live555 : don't call ES_OUT_SET_ES_STATE with NULL pointer

parent 5c277fc5
...@@ -1964,6 +1964,7 @@ static void StreamClose( void *p_private ) ...@@ -1964,6 +1964,7 @@ static void StreamClose( void *p_private )
p_sys->event_rtsp = 0xff; p_sys->event_rtsp = 0xff;
p_sys->event_data = 0xff; p_sys->event_data = 0xff;
if( tk->p_es )
es_out_Control( p_demux->out, ES_OUT_SET_ES_STATE, tk->p_es, false ); es_out_Control( p_demux->out, ES_OUT_SET_ES_STATE, tk->p_es, false );
int nb_tracks = 0; int nb_tracks = 0;
......
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