[FFmpeg-devel] Patch "configure: Check for the SetDllDirectory and GetModuleHandle functions" by Martin Storsjö

Martin Storsjö martin at martin.st
Wed Jan 8 13:39:25 EET 2020


On Wed, 8 Jan 2020, Jörg Beckmann wrote:

> Hi,
>
> with this patch, FFmpeg does not compile for me on Cygwin anymore:
>
> ---------------------------------------
> fftools/cmdutils.c: In function 'get_preset_file':
> fftools/cmdutils.c:2043:22: error: 'MAX_PATH' undeclared (first use in this function); did you mean '_CS_PATH'?
>         char datadir[MAX_PATH], *ls;
>                      ^~~~~~~~

I just sent an untested patch which I believe should fix this. Can you 
test it?

// Martin


More information about the ffmpeg-devel mailing list