[MPlayer-dev-eng] [PATCH] fix for issue cant play filenames with spaces

Bertrand Baudet bertrand_baudet at yahoo.com
Thu Apr 29 23:37:30 CEST 2004


On Thursday 29 April 2004 23:03, Roberto Togni wrote:
> On 2004.04.29 22:44, Roberto Togni wrote:
> > On 2004.04.29 21:58, adland wrote:
> >> >>try this instead mplayer -v "http://10.0.0.2/zz
> >> >>top-tres hombres102_NEW.wav"
>
> [...]
>
> > adland, waht about unescaping and escaping again url in open.c ?
> > I'm going to test it, if it works it requires changing less code.
>
> Here is the patch:
>  - unescape url before escaping it
>  - do not overallocate escfilename
>  - fix memleak of escfilename
>

This is much cleaner than adland patch.
Please Adland test it and report. 

Please, do NOT commit the hack in the url.c that Adland commit earlier. 
Thanks.

Bertrand




More information about the MPlayer-dev-eng mailing list