[FFmpeg-devel] [PATCH] set FONTCONFIG_PATH relative to ffmpeg binary, if it is a static build

Helmut Tessarek tessarek at evermeet.cx
Mon Feb 17 14:27:33 CET 2014


On 17.02.14 8:15 , Nicolas George wrote:
> There is something fishy about this: getcwd() will return you the path where
> ffmpeg was started from too. There is no reliable portable way of finding
> the path of the binary that started a program.

I have to look into it again, but there was definitely a reason why I did it
this way. I wrote it a while back as a quick hack and I remember that it did
not work, when I just set it to 'fonts' or './fonts'.

Cheers,
  Helmut




More information about the ffmpeg-devel mailing list