[vlc-commits] subsdec: Remove unused xml reader

Hugo Beauzée-Luyssen git at videolan.org
Tue Jul 28 16:01:58 CEST 2015


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Mon Jul 20 13:55:56 2015 +0200| [98391d59953700b171676974bb745fe9688ae423] | committer: Jean-Baptiste Kempf

subsdec: Remove unused xml reader

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

 modules/codec/subsdec.c |    8 --------
 1 file changed, 8 deletions(-)

diff --git a/modules/codec/subsdec.c b/modules/codec/subsdec.c
index 03be069..c82a6a1 100644
--- a/modules/codec/subsdec.c
+++ b/modules/codec/subsdec.c
@@ -386,7 +386,6 @@ struct decoder_sys_t
 
     vlc_iconv_t         iconv_handle;            /* handle to iconv instance */
     bool                b_autodetect_utf8;
-    xml_reader_t*       p_reader;
 };
 
 
@@ -493,13 +492,6 @@ static int OpenDecoder( vlc_object_t *p_this )
 
     p_sys->i_align = var_InheritInteger( p_dec, "subsdec-align" );
 
-    p_sys->p_reader = xml_ReaderCreate( p_dec, NULL );
-    if ( !p_sys->p_reader )
-    {
-        free( p_sys );
-        return VLC_EGENERIC;
-    }
-
     return VLC_SUCCESS;
 }
 



More information about the vlc-commits mailing list