Commit fb5d2981 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Fix some crash on exit

Patch by Sephiroth87
parent 521c6480
...@@ -223,6 +223,7 @@ static void ParseUrls( services_discovery_t *p_sd, char *psz_urls ) ...@@ -223,6 +223,7 @@ static void ParseUrls( services_discovery_t *p_sd, char *psz_urls )
psz_urls, 0, NULL, -1 ); psz_urls, 0, NULL, -1 );
input_ItemAddOption( p_input, "demux=podcast" ); input_ItemAddOption( p_input, "demux=podcast" );
services_discovery_AddItem( p_sd, p_input, NULL /* no cat */ ); services_discovery_AddItem( p_sd, p_input, NULL /* no cat */ );
vlc_gc_decref( p_input );
INSERT_ELEM( p_sys->pp_input, p_sys->i_input, p_sys->i_input, INSERT_ELEM( p_sys->pp_input, p_sys->i_input, p_sys->i_input,
input_CreateThread( p_sd, p_input ) ); input_CreateThread( p_sd, p_input ) );
} }
......
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