ANSI functions do not support long paths, so I had to change LoadLibraryExA to LoadLibraryExW.in compat/w32dlfcn.h as well.
I cannot find other uses of WinAPI functions ending with ..A(. Looks like FFmpeg doesn't use ANSI functions anywhere else, but the codebase is huge, so who knows. Previous patch generated a warning: The first line of the commit message must start with a context...: https://patchwork.ffmpeg.org/project/ffmpeg/patch/20220214095146.13432-1-nil-admir...@mailo.com/. Patch affected multiple files, so in order to specify the context the patch had to be split into pieces. A new version of the patch is at https://ffmpeg.org/pipermail/ffmpeg-devel/2022-February/293106.html. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".