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

Martin Storsjö martin at martin.st
Wed Jan 8 13:54:37 EET 2020


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

>> -----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. 😊

Thanks, I pushed this patch then.

// Martin


More information about the ffmpeg-devel mailing list