]> git.sesse.net Git - vlc/commitdiff
asx.c: don't use const on prz_mrl
authorIlkka Ollakka <ileoo@videolan.org>
Tue, 13 Oct 2009 09:07:06 +0000 (12:07 +0300)
committerIlkka Ollakka <ileoo@videolan.org>
Tue, 13 Oct 2009 09:07:06 +0000 (12:07 +0300)
modules/demux/playlist/asx.c

index 9cfb7a4efaf6f88f0172c27de63b8910c450b47c..4e814e8c0c797823de6fa913f033cf5bc90ec7ba 100644 (file)
@@ -530,7 +530,7 @@ static int Demux( demux_t *p_demux )
                     char *psz_current_input_name = input_item_GetName( p_current_input );
                     if( asprintf( &psz_name, "%d %s", i_entry_count, ( psz_title_entry ? psz_title_entry : psz_current_input_name ) ) != -1 )
                     {
-                        const char *psz_mrl = ProcessMRL( psz_href, p_demux->p_sys->psz_prefix );
+                        char *psz_mrl = ProcessMRL( psz_href, p_demux->p_sys->psz_prefix );
                         p_entry = input_item_NewExt( p_demux, psz_mrl, psz_name,
                                                      i_options, (const char * const *)ppsz_options, VLC_INPUT_OPTION_TRUSTED, -1 );
                         free( psz_name );
@@ -614,7 +614,7 @@ static int Demux( demux_t *p_demux )
                                 input_item_t *p_entry = NULL;
                                 char *psz_name = input_item_GetName( p_current_input );
 
-                                const char *psz_mrl = ProcessMRL( psz_href, p_demux->p_sys->psz_prefix );
+                                char *psz_mrl = ProcessMRL( psz_href, p_demux->p_sys->psz_prefix );
                                 p_entry = input_item_NewExt( p_demux, psz_mrl, psz_name,
                                                      0, NULL, VLC_INPUT_OPTION_TRUSTED, -1 );
                                 free( psz_mrl );