[MPlayer-dev-eng] [PATCH] fix to support file:///x:/path

Rich Felker dalias at aerifal.cx
Wed Feb 20 07:00:15 CET 2008


On Wed, Feb 20, 2008 at 02:53:24PM +0900, KO Myung-Hun wrote:
> Hi/2.
> 
> Currently, MPlayer supports file://path style. But on Windows and OS/2,
> local path is expressed by 'file:///x:/path'. That is, '/' is prefixed
> to normal path. So we need to remove '/' before 'x:/path'.

To my knowledge, file://foo is always a relative (non-/-initial) path,
i.e. file://foo means ./foo while file:///foo means /foo, at least in
standard urls. I think MPlayer is just wrong here. Special-casing
windows drive letter nastiness is not the right fix, at least..

Rich



More information about the MPlayer-dev-eng mailing list