Skip to content

9.0.5

Latest

Choose a tag to compare

@markus-perl markus-perl released this 11 Aug 16:16

Builds FFmpeg 9.0. A maintenance release: two fixes for builds on current Xcode, no new
libraries and no option changes.

Rubber Band no longer fails on size_t

src/common/mathmisc.h declares roundUp()/roundUpDiv() in terms of an unqualified
size_t but includes nothing that defines one. It only ever got away with that by accident:
its sole include is sysutils.h, whose platform block takes the #elif defined(__GNUC__)
branch under clang and so skips the stdlib.h the other branches pull in, leaving <math.h>
at the bottom as the only thing that supplied size_t transitively. Xcode 26's libc++ stopped
leaking it from <math.h>, so mathmisc.cpp failed with unknown type name 'size_t' and
took the whole ninja run with it. The script now inserts <stddef.h> into that header before
building.

x265 no longer leaks -DHAVE_NEON=1 into openh264

On Apple Silicon, build_x265 prepends -DHAVE_NEON=1 to CXXFLAGS but the backup used to
restore them was taken further down, after that export, so the flag escaped into every package
built afterwards. openh264 does not survive it: its Makefile already defines
HAVE_NEON_AARCH64 on arm64, codec/encoder/core/inc/encoder.h picks its memzero
declaration from an #elif chain that tests HAVE_NEON first, and encoder.cpp calls the
AArch64 entry point from a separate #if. With both macros defined the declaration is the
plain NEON one and the AArch64 call does not compile. The backup is now taken before the first
x265-local CXXFLAGS change.

Upgrading

Nothing to change — no options were added, renamed or removed.