[Ffmpeg-devel] "/c/Program Files/FFmpeg" prefix

Måns Rullgård mru
Sat Jun 24 00:23:36 CEST 2006

"Ramiro Polla" <ramiro86 at hotmail.com> writes:

> Hello,
> If ffmpeg is installed in mingw+msys with "make install" and no prefix
> is given, it defaults to "/c/Program Files/FFmpeg". That path is
> incorrect for any windows language besides english. It's also
> incorrect for windows x64 XP.

Annoying, isn't it?  The varying directory names, that is.

> The correct path can be found on the windows registry, or using the
> SHGetFolderPath function from the win32 api.

Ah yes, the registry is also annoying.

> How could the configure script be modified to find the correct folder? 
> It would only work if running windows. I was thinking of making a
> quick app that calls the w32api function for the correct folder, but I
> don't know how to get the program's output (the path in a char[]
> buffer).

Would this value by any luck be available in an environment variable?

M?ns Rullg?rd
mru at inprovide.com

More information about the ffmpeg-devel mailing list