Commit b0a7c163 authored by Rémi Duraffort's avatar Rémi Duraffort

Fix previous commit.

parent 63c1fd74
......@@ -228,11 +228,11 @@ static int DemuxGenre( demux_t *p_demux )
if( asprintf( &psz_mrl, SHOUTCAST_BASE_URL "?genre=%s",
psz_name ) != -1 )
{
p_input = input_ItemNewExt( p_demux, psz_mrl,
p_input = input_item_NewExt( p_demux, psz_mrl,
psz_name, 0, NULL, -1 );
input_ItemCopyOptions( p_sys->p_current_input, p_input );
input_item_CopyOptions( p_sys->p_current_input, p_input );
free( psz_mrl );
input_ItemAddSubItem( p_sys->p_current_input, p_input );
input_item_AddSubItem( p_sys->p_current_input, p_input );
vlc_gc_decref( p_input );
}
FREENULL( psz_name );
......
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