[vlc-commits] asx: do not inherit options

Rémi Denis-Courmont git at videolan.org
Mon Apr 1 17:36:10 CEST 2019


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Mar 31 11:09:01 2019 +0300| [eee47ade6fdcd31f2e76d9eea3c89e3bfc3f68c8] | committer: Rémi Denis-Courmont

asx: do not inherit options

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=eee47ade6fdcd31f2e76d9eea3c89e3bfc3f68c8
---

 modules/demux/playlist/asx.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/modules/demux/playlist/asx.c b/modules/demux/playlist/asx.c
index 9e32516f41..3d0875bcac 100644
--- a/modules/demux/playlist/asx.c
+++ b/modules/demux/playlist/asx.c
@@ -317,7 +317,6 @@ static void ProcessEntry( int *pi_n_entry, xml_reader_t *p_xml_reader,
                 input_item_AddOptions( p_entry, i_options,
                                        (const char **)ppsz_options,
                                        VLC_INPUT_OPTION_TRUSTED );
-                input_item_CopyOptions( p_entry, p_current_input );
 
                 /* Add the metadata */
                 if( psz_name )
@@ -762,7 +761,6 @@ static int ReadDir( stream_t *p_demux, input_item_node_t *p_subitems )
                 psz_txt = strdup( psz_node );
                 vlc_xml_decode( psz_txt );
                 p_input = input_item_New( psz_txt, psz_title_asx );
-                input_item_CopyOptions( p_input, p_current_input );
                 input_item_node_AppendItem( p_subitems, p_input );
 
                 input_item_Release( p_input );



More information about the vlc-commits mailing list