[Ffmpeg-devel] Re: [Ffmpeg-user] Windows install dir containingwhitespace

Fredrik Orderud fredrik.orderud
Sat Nov 5 18:43:01 CET 2005


I agree that it's not a perfect solution, but at least it yields an 
error-free install. I suggest accepting the patch now as a "hotfix", and 
develop a better solution later.

I've previously tried "/c/Program\ Files/FFmpeg" without sucess.

regards,
Fredrik Orderud
Ph.D student in Computer Science, NTNU
----- Original Message ----- 
From: "Guillaume POIRIER" <poirierg at gmail.com>
To: "FFMpeg development discussions and patches" <ffmpeg-devel at mplayerhq.hu>
Sent: Saturday, November 05, 2005 6:38 PM
Subject: Re: [Ffmpeg-devel] Re: [Ffmpeg-user] Windows install dir 
containingwhitespace


> On 11/5/05, Fredrik Orderud <fredrik.orderud at idi.ntnu.no> wrote:
>> Attached is a my attempt to create a patch that changes the default
>> installation directory of ffmpeg on windows from "/c/Program 
>> Files/FFmpeg"
>> to "/c/Program_Files/FFmpeg". The underscore is intentional, and due to 
>> the
>> install-script's inability to cope with paths containing whitespace.
>>
>> Please double-chech my patch, as I've never used "diff" before.
>
> --- configure Sat Nov  5 18:09:45 2005
> +++ configure Sat Nov  5 18:09:45 2005
> @@ -858,7 +858,7 @@ if test "$mingw32" = "yes" ; then
>
>     SLIBPREF=""
>
>     SLIBSUF=".dll"
>
>     EXESUF=".exe"
>
> -    if test "$force_prefix" != yes; then prefix="/c/Program 
> Files/FFmpeg"; fi
>
> +    if test "$force_prefix" != yes; then 
> prefix="/c/Program_Files/FFmpeg"; fi
>
>     if test "$force_libdir" != yes; then bindir="$prefix"; fi
>
>  fi
>
> The patch is valid, but I doubt it's the way to go. Why would
> Program_Files alias to Program%20Files ? Maybe you should try to
> replace the double quotes with simple quotes. It may not change
> anything, but it's worth trying.
>
> Guillaume





More information about the ffmpeg-devel mailing list