[vlc-devel] commit: Fix opening of file:// URIs (not tested on Windows) ( Rémi Denis-Courmont )

Pierre Ynard linkfanel at yahoo.fr
Mon Jun 15 13:16:21 CEST 2009


> Fix opening of file:// URIs (not tested on Windows)
> (cherry picked from commit 81a05711bb6d5ff26da0cce4ed1e0cf650310184)

This might break currently working set-ups.

> +        if( psz_path[0] != '/' )
> +        {   /* host specified -> not supported currently */
> +            msg_Err( p_input, "cannot open remote file `%s://%s'",
> +                     psz_access, psz_path );
> +            msg_Info( p_input, "Did you mean `%s:///%s'?",
> +                      psz_access, psz_path );
> +            goto error;
> +        }

What is this for? What would the URI of a remote file look like?

-- 
Pierre Ynard
"Une âme dans un corps, c'est comme un dessin sur une feuille de papier."



More information about the vlc-devel mailing list