]> git.sesse.net Git - vlc/blobdiff - src/input/input.c
Remove access-filter support.
[vlc] / src / input / input.c
index b026ee607172b61351e59a5c3d9d5f3c01d1322f..151d4566225c5d9fa6a233fa0f4eb7c88a1e470b 100644 (file)
@@ -2461,28 +2461,6 @@ static int InputSourceInit( input_thread_t *p_input,
             goto error;
         }
 
-        /* */
-        psz_tmp = psz = var_GetNonEmptyString( p_input, "access-filter" );
-        while( psz && *psz )
-        {
-            access_t *p_access = in->p_access;
-            char *end = strchr( psz, ':' );
-
-            if( end )
-                *end++ = '\0';
-
-            in->p_access = access_FilterNew( in->p_access, psz );
-            if( in->p_access == NULL )
-            {
-                in->p_access = p_access;
-                msg_Warn( p_input, "failed to insert access filter %s",
-                          psz );
-            }
-
-            psz = end;
-        }
-        free( psz_tmp );
-
         /* Get infos from access */
         if( !p_input->b_preparsing )
         {