[Ffmpeg-devel] Re: [Ffmpeg-user] Windows install dir containing whitespace

Guillaume POIRIER poirierg
Sat Nov 5 18:38:33 CET 2005


Hi,

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
--
Reading doesn't hurt, really!
  -- Dominik 'Rathann' Mierzejewski





More information about the ffmpeg-devel mailing list