shaka-project / static-ffmpeg-binaries

Static binaries of FFmpeg, for multiple OS & CPU combinations, built from source in a GitHub Actions workflow.
https://github.com/joeyparrish/static-ffmpeg-binaries/releases
Apache License 2.0
11 stars 9 forks source link

fix: Install explicit toolchain for Windows #36

Closed joeyparrish closed 11 months ago

joeyparrish commented 11 months ago

In GitHub's VMs, there are already GCC toolchains installed with Strawberry Perl, Git, and one more through Chocolatey. None of these build clean executables that only depend on standard DLLs. Installing an explicitly mingw toolchain gives us a working toolchain that is higher in the path than these others.

Getting this far also exposed an error caused by an updated mingw binutils combined with some sign errors in ffmpeg's x86 assembly. So this adds a patch from a newer version of ffmpeg to resolve that build failure.

Issue #13