[FFmpeg-devel] Can't use __musl__ macro
Lance Fredrickson
lancethepants at gmail.com
Mon Aug 12 05:10:24 EEST 2024
Hi all, I use ffmpeg by way of minidlna.
In commit 9e674b31606c805dd31b4bb754364a72a5877238 of ffmpeg this change
tries to detect musl libc by way of a "__musl__" macro. This macro
however, doesn't exist in musl. This results in an "incompatible pointer
type" error under gcc-14.2 as detection falls through to the #else
definition. This was in version 6.1.2 and looks like it is still present
in master. I can't say what the correct fix would be, I just manually
patched for now.
thanks,
Lance Fredrickson
More information about the ffmpeg-devel
mailing list