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

Jörg Beckmann Joerg.Beckmann at scisys.com
Wed Jan 8 13:48:11 EET 2020


> -----Ursprüngliche Nachricht-----
> Von: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> Im Auftrag von Martin
> Storsjö
> Gesendet: Mittwoch, 8. Januar 2020 12:39
> An: FFmpeg development discussions and patches <ffmpeg-devel at ffmpeg.org>
> Betreff: Re: [FFmpeg-devel] Patch "configure: Check for the SetDllDirectory and
> GetModuleHandle functions" by Martin Storsjö
> 
> 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?

Thank you very much for your fast response. You're new patch is working and it compiles again. 😊

> 
> // Martin

Jörg




More information about the ffmpeg-devel mailing list