ffmpeg
ffmpeg copied to clipboard
MacOS (aarch64): fix compilation error
This PR fixes compilation errors when building ffmpeg (Zig) on MacOS 15.2 (M1, aarch64).
Fixes:
- Error 1
OS_CODE macro redefined– resolved by updating zlib to the latest version. - Error 2
sys/prctl.hnot found and_DARWIN_C_SOURCEmacro redefined – fixed by conditionally disablingprctlfor MacOS.
There are still some linker issues. I think it would be best to address them in a separate PR or issue.