* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
-#include <stdlib.h>
#include <vlc/vlc.h>
#include "input_internal.h"
p_access->psz_path = strdup( psz_path );
if( b_quick )
{
- if( strstr( psz_path, "file://" ) )
+ if( strncmp( psz_path, "file://", 7 ) == 0 )
p_access->psz_access = strdup( "" );
else
p_access->psz_access = strdup( "file" );
else
{
p_access->p_module =
- module_Need( p_access, "access2", p_access->psz_access,
- b_quick ? VLC_TRUE : VLC_FALSE );
+ module_Need( p_access, "access2", p_access->psz_access, VLC_TRUE );
}
if( p_access->p_module == NULL )