[vlc-devel] [PATCH] -- correct broken URI for Windows (trac#2843)

brezhoneg1 brezhoneg1 at yahoo.fr
Thu Jun 11 00:38:27 CEST 2009


 
This patch corrects URI handling for Windows, which has been preventing
xspf from working on both 1.0-bugfix and master for some time.

The patch does assume a Windows URI is in the form of
/C:/path/to/file/file.ext

- decode_URI : the extra / at the beginning of the URI must be removed
at decoding time
- make_URI and decode_URI : In two places, / is replaced with DIR_SEP to
support both Linux and Windows.

The patch was tested with Wine on Debian successfully.

Rgds
Erwan10



More information about the vlc-devel mailing list