]> git.sesse.net Git - vlc/blobdiff - modules/demux/mpeg/m4a.c
* src/input/demux.c: skip header id3tag in the core before loading the demux (id3tags...
[vlc] / modules / demux / mpeg / m4a.c
index b691640250292d3ebad5326aa8686adaa646c298..efed0426bd7fcabd0ac2a2da7638f890038fbb36 100644 (file)
@@ -71,7 +71,6 @@ static int Open( vlc_object_t * p_this )
     demux_t     *p_demux = (demux_t*)p_this;
     demux_sys_t *p_sys;
     uint8_t     *p_peek;
-    module_t    *p_id3;
     int         b_forced = VLC_FALSE;
 
     if( p_demux->psz_path )
@@ -89,12 +88,6 @@ static int Open( vlc_object_t * p_this )
         return VLC_EGENERIC;
     }
 
-    /* skip possible id3 header */
-    if( ( p_id3 = module_Need( p_demux, "id3", NULL, 0 ) ) )
-    {
-        module_Unneed( p_demux, p_id3 );
-    }
-
     /* peek the begining (10 is for adts header) */
     if( stream_Peek( p_demux->s, &p_peek, 10 ) < 10 )
     {