[vlc-commits] [Git][videolan/vlc][3.0.x] contrib: vpx: update to 1.16.0
Steve Lhomme (@robUx4)
gitlab at videolan.org
Sat Jul 4 03:01:38 UTC 2026
Steve Lhomme pushed to branch 3.0.x at VideoLAN / VLC
Commits:
d65165ac by Tristan Matthews at 2026-07-04T01:44:38+00:00
contrib: vpx: update to 1.16.0
2026-01-21 v1.16.0 "Xenonetta Duck"
This release includes Arm SVE2 and Neon optimizations for 12-tap filters,
AVX512 implementations for SAD, support for per-frame and per-spatial-layer
PSNR calculation, and numerous bug fixes.
- Upgrading:
This release is ABI incompatible with the previous release.
Unit tests require C++17 to build.
Support for 32-bit iOS targets (armv7, armv7s, and i386) has been removed.
- Enhancement:
Optimized Arm SVE2 and Neon implementations for 12-tap convolution filters.
Optimized Neon High Bitdepth (HBD) SAD and sad_avg functions.
Added Arm Neon DotProd and I8MM implementations for vpx_convolve12.
Added AVX512 implementations for SAD64 and sad_skip functions.
Added SSSE3 and AVX2 implementations for 12-tap temporal filter prediction.
Added support for per-frame and per-spatial-layer PSNR calculation.
Adjusted temporal filter strength to improve visual quality and reduce block
artifacts.
Added support for darwin24 (macOS 15) and darwin25 (macOS 26).
libwebm is upgraded to commit b4f01ea.
- Bug fixes:
Fix to heap buffer overflow in vp9_deblock, vp9_post_proc_frame, and
vp9_pack_bitstream.
Fix to integer overflow in vp9_highbd_post_proc, vp9_rc_regulate_q,
tiny_ssim, and vp9_calc_pframe_target_size_one_pass_cbr.
Fix to use-of-uninitialized-value in vp9_highbd_post_proc, mfqe, and
vp8_datarate_test.
Fix to out-of-bounds in log_tile_cols_from_picsize_level.
Fix to double free on initialization failure in vpx_codec_enc_init_multi.
Fix to division-by-zero crash in vpxenc with 0 FPS numerator input.
Fix to various build failures for Arm/SVE2, macOS cross-compilation, and
Xcode 16.
Co-authored-by: Steve Lhomme <robux4 at ycbcr.xyz>
Signed-off-by: Steve Lhomme <robux4 at ycbcr.xyz>
- - - - -
11 changed files:
- + contrib/src/vpx/0001-Disable-forcing-flags-for-Apple-targets.patch
- + contrib/src/vpx/0001-do-not-use-CLOCK_MONOTONIC_RAW-in-older-iOS-macOS.patch
- + contrib/src/vpx/0001-fix-compilation-with-Apple-Clang-13.patch
- + contrib/src/vpx/0003-fix-x86-android-build-with-encoders.patch
- + contrib/src/vpx/0004-fix-android-build.patch
- contrib/src/vpx/SHA512SUMS
- − contrib/src/vpx/libvpx-android.patch
- contrib/src/vpx/libvpx-darwin-aarch64.patch
- contrib/src/vpx/libvpx-ios.patch
- contrib/src/vpx/libvpx-remove-bitcode.patch
- contrib/src/vpx/rules.mak
Changes:
=====================================
contrib/src/vpx/0001-Disable-forcing-flags-for-Apple-targets.patch
=====================================
@@ -0,0 +1,50 @@
+From c66c94588057ab8fd0790bd6c774a777b10ffe17 Mon Sep 17 00:00:00 2001
+From: Steve Lhomme <robux4 at ycbcr.xyz>
+Date: Fri, 26 Jun 2026 11:28:21 +0200
+Subject: [PATCH 1/6] Disable forcing flags for Apple targets
+
+Some platforms are not supported and forcing
+miphoneos on all arm Darwin is just plain wrong.
+---
+ build/make/configure.sh | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/build/make/configure.sh b/build/make/configure.sh
+index 21407f3d8..eb479ddec 100644
+--- a/build/make/configure.sh
++++ b/build/make/configure.sh
+@@ -912,6 +912,7 @@ process_common_toolchain() {
+ #endif
+ EOF
+
++if [ 0 -eq 1 ]; then
+ # Minimum iOS version for all target platforms (darwin and iphonesimulator).
+ # Shared library framework builds are only possible on iOS 8 and later.
+ if enabled shared; then
+@@ -1005,6 +1006,7 @@ EOF
+ fi
+ ;;
+ esac
++fi
+
+ # Handle Solaris variants. Solaris 10 needs -lposix4
+ case ${toolchain} in
+@@ -1200,6 +1202,7 @@ EOF
+ add_cflags -arch ${tgt_isa}
+ add_ldflags -arch ${tgt_isa}
+
++if [ 0 -eq 1 ]; then
+ alt_libc="$(show_darwin_sdk_path iphoneos)"
+ if [ -d "${alt_libc}" ]; then
+ add_cflags -isysroot ${alt_libc}
+@@ -1215,6 +1218,7 @@ EOF
+ try_dir="${alt_libc}/${d}"
+ [ -d "${try_dir}" ] && add_ldflags -L"${try_dir}"
+ done
++fi
+
+ case ${tgt_isa} in
+ armv7|armv7s|armv8|arm64)
+--
+2.52.0.windows.1
+
=====================================
contrib/src/vpx/0001-do-not-use-CLOCK_MONOTONIC_RAW-in-older-iOS-macOS.patch
=====================================
@@ -0,0 +1,37 @@
+From ab64c7071007922e50c8b8e74fd1598b34c746bb Mon Sep 17 00:00:00 2001
+From: Steve Lhomme <robux4 at ycbcr.xyz>
+Date: Fri, 26 Jun 2026 13:58:07 +0200
+Subject: [PATCH] do not use CLOCK_MONOTONIC_RAW in older iOS/macOS
+
+../vpx_ports/vpx_timer.h:72:17: error: '_CLOCK_MONOTONIC_RAW' is only available on iOS 10.0 or newer [-Werror,-Wunguarded-availability]
+ 72 | clock_gettime(CLOCK_MONOTONIC_RAW, &t->end);
+ | ^~~~~~~~~~~~~~~~~~~
+---
+ vpx_ports/vpx_timer.h | 11 +++++++++++
+ 1 file changed, 11 insertions(+)
+
+diff --git a/vpx_ports/vpx_timer.h b/vpx_ports/vpx_timer.h
+index 55e7891e1..60141077a 100644
+--- a/vpx_ports/vpx_timer.h
++++ b/vpx_ports/vpx_timer.h
+@@ -15,6 +15,17 @@
+
+ #include "vpx/vpx_integer.h"
+
++#if __APPLE__
++# include <TargetConditionals.h>
++# if (TARGET_OS_OSX && defined(__MAC_10_12) && __MAC_OS_X_VERSION_MIN_REQUIRED < __MAC_10_12) || \
++ (TARGET_OS_IPHONE && defined(__IPHONE_10_0) && __IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_10_0)
++ // CLOCK_MONOTONIC_RAW | CLOCK_MONOTONIC require macOS 10.12
++ // CLOCK_MONOTONIC_RAW | CLOCK_MONOTONIC require iOS 10
++# undef CONFIG_OS_SUPPORT
++# define CONFIG_OS_SUPPORT 0
++# endif
++#endif
++
+ #if CONFIG_OS_SUPPORT
+
+ #if defined(_WIN32)
+--
+2.52.0.windows.1
+
=====================================
contrib/src/vpx/0001-fix-compilation-with-Apple-Clang-13.patch
=====================================
@@ -0,0 +1,42 @@
+From 454e68eedbd1166629660cfd0a3b269e8040cfa7 Mon Sep 17 00:00:00 2001
+From: Steve Lhomme <robux4 at ycbcr.xyz>
+Date: Wed, 1 Jul 2026 14:49:32 +0200
+Subject: [PATCH] fix compilation with Apple Clang 13
+
+../vp9/ratectrl_rtc.cc:29:67: error: invalid use of member 'cpi_' in static member function
+ rc_api->cpi_ = static_cast<VP9_COMP *>(vpx_memalign(32, sizeof(*cpi_)));
+ ^~~~
+---
+ vp8/vp8_ratectrl_rtc.cc | 2 +-
+ vp9/ratectrl_rtc.cc | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/vp8/vp8_ratectrl_rtc.cc b/vp8/vp8_ratectrl_rtc.cc
+index 312092f19..0c5deabf5 100644
+--- a/vp8/vp8_ratectrl_rtc.cc
++++ b/vp8/vp8_ratectrl_rtc.cc
+@@ -61,7 +61,7 @@ std::unique_ptr<VP8RateControlRTC> VP8RateControlRTC::Create(
+ std::unique_ptr<VP8RateControlRTC> rc_api(new (std::nothrow)
+ VP8RateControlRTC());
+ if (!rc_api) return nullptr;
+- rc_api->cpi_ = static_cast<VP8_COMP *>(vpx_memalign(32, sizeof(*cpi_)));
++ rc_api->cpi_ = static_cast<VP8_COMP *>(vpx_memalign(32, sizeof(*rc_api->cpi_)));
+ if (!rc_api->cpi_) return nullptr;
+ vp8_zero(*rc_api->cpi_);
+
+diff --git a/vp9/ratectrl_rtc.cc b/vp9/ratectrl_rtc.cc
+index b29e1ec23..43948fb7e 100644
+--- a/vp9/ratectrl_rtc.cc
++++ b/vp9/ratectrl_rtc.cc
+@@ -26,7 +26,7 @@ std::unique_ptr<VP9RateControlRTC> VP9RateControlRTC::Create(
+ std::unique_ptr<VP9RateControlRTC> rc_api(new (std::nothrow)
+ VP9RateControlRTC());
+ if (!rc_api) return nullptr;
+- rc_api->cpi_ = static_cast<VP9_COMP *>(vpx_memalign(32, sizeof(*cpi_)));
++ rc_api->cpi_ = static_cast<VP9_COMP *>(vpx_memalign(32, sizeof(*rc_api->cpi_)));
+ if (!rc_api->cpi_) return nullptr;
+ vp9_zero(*rc_api->cpi_);
+
+--
+2.52.0.windows.1
+
=====================================
contrib/src/vpx/0003-fix-x86-android-build-with-encoders.patch
=====================================
@@ -0,0 +1,25 @@
+From 9da8c275866e2a870480e7443377ec7c3cbbc8b0 Mon Sep 17 00:00:00 2001
+From: Thomas Guillem <thomas at gllm.fr>
+Date: Fri, 22 Dec 2017 15:04:47 +0100
+Subject: [PATCH 3/6] fix x86 android build with encoders
+
+__ANDROID__ doesn't seem to be defined when built from the android yasm
+---
+ vpx_ports/x86_abi_support.asm | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/vpx_ports/x86_abi_support.asm b/vpx_ports/x86_abi_support.asm
+index 6b2d6b968..6bb4d2052 100644
+--- a/vpx_ports/x86_abi_support.asm
++++ b/vpx_ports/x86_abi_support.asm
+@@ -414,6 +414,7 @@ section .text
+
+ ; On Android platforms use lrand48 when building postproc routines. Prior to L
+ ; rand() was not available.
++%define __ANDROID__
+ %if CONFIG_POSTPROC=1 || CONFIG_VP9_POSTPROC=1
+ %ifdef __ANDROID__
+ extern sym(lrand48)
+--
+2.52.0.windows.1
+
=====================================
contrib/src/vpx/0004-fix-android-build.patch
=====================================
@@ -0,0 +1,24 @@
+From 541f8fd6430a3f8444e01e370eae41df7a8579c2 Mon Sep 17 00:00:00 2001
+From: Thomas Guillem <thomas at gllm.fr>
+Date: Fri, 20 May 2016 11:58:48 +0200
+Subject: [PATCH 4/6] fix android build
+
+---
+ vpx_ports/vpx_ports.mk | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/vpx_ports/vpx_ports.mk b/vpx_ports/vpx_ports.mk
+index b0ad210f6..b27eedb52 100644
+--- a/vpx_ports/vpx_ports.mk
++++ b/vpx_ports/vpx_ports.mk
+@@ -41,6 +41,7 @@ else
+ PORTS_SRCS-$(VPX_ARCH_ARM) += aarch32_cpudetect.c
+ endif
+ PORTS_SRCS-$(VPX_ARCH_ARM) += arm_cpudetect.h
++PORTS_SRCS-$(VPX_ARCH_ARM) += cpu-features.c
+ PORTS_SRCS-$(VPX_ARCH_ARM) += arm.h
+
+ PORTS_SRCS-$(VPX_ARCH_PPC) += ppc_cpudetect.c
+--
+2.52.0.windows.1
+
=====================================
contrib/src/vpx/SHA512SUMS
=====================================
@@ -1 +1 @@
-824fe8719e4115ec359ae0642f5e1cea051d458f09eb8c24d60858cf082f66e411215e23228173ab154044bafbdfbb2d93b589bb726f55b233939b91f928aae0 libvpx-1.15.2.tar.gz
+07f5e352411d6c0be331706d1835ac89bafbeddcbbac5542b473323766e9e974f4f68b33590f2aa50a7d8d69468a642b508cbb0a7c49a82c9933b07820f9c9d9 libvpx-1.16.0.tar.gz
=====================================
contrib/src/vpx/libvpx-android.patch deleted
=====================================
@@ -1,22 +0,0 @@
-diff -ruw libvpx-1.14.0/vpx_ports/vpx_ports.mk libvpx-1.14.0-new/vpx_ports/vpx_ports.mk
---- libvpx-1.14.0/vpx_ports/vpx_ports.mk 2024-01-09 16:12:22.000000000 -0500
-+++ libvpx-1.14.0-new/vpx_ports/vpx_ports.mk 2024-01-24 15:53:33.706974940 -0500
-@@ -42,6 +42,7 @@
- PORTS_SRCS-$(VPX_ARCH_ARM) += aarch32_cpudetect.c
- endif
- PORTS_SRCS-$(VPX_ARCH_ARM) += arm_cpudetect.h
-+PORTS_SRCS-$(VPX_ARCH_ARM) += cpu-features.c
- PORTS_SRCS-$(VPX_ARCH_ARM) += arm.h
-
- PORTS_SRCS-$(VPX_ARCH_PPC) += ppc_cpudetect.c
-diff -ruw libvpx-1.14.0/vpx_ports/x86_abi_support.asm libvpx-1.14.0-new/vpx_ports/x86_abi_support.asm
---- libvpx-1.14.0/vpx_ports/x86_abi_support.asm 2024-01-09 16:12:22.000000000 -0500
-+++ libvpx-1.14.0-new/vpx_ports/x86_abi_support.asm 2024-01-24 15:52:25.911365246 -0500
-@@ -414,6 +414,7 @@
-
- ; On Android platforms use lrand48 when building postproc routines. Prior to L
- ; rand() was not available.
-+%define __ANDROID__
- %if CONFIG_POSTPROC=1 || CONFIG_VP9_POSTPROC=1
- %ifdef __ANDROID__
- extern sym(lrand48)
=====================================
contrib/src/vpx/libvpx-darwin-aarch64.patch
=====================================
@@ -1,6 +1,17 @@
---- libvpx/build/make/configure.sh 2025-04-16 15:30:51.431710564 -0400
-+++ libvpx-new/build/make/configure.sh 2025-04-16 15:36:35.935402419 -0400
-@@ -1183,7 +1183,7 @@
+From db37f83129cd777b588f28a50223d5158e50446e Mon Sep 17 00:00:00 2001
+From: Marvin Scholz <epirat07 at gmail.com>
+Date: Mon, 10 Aug 2020 16:01:05 +0200
+Subject: [PATCH 5/6] add patch to use macOS SDK on macOS aarch64
+
+---
+ build/make/configure.sh | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/build/make/configure.sh b/build/make/configure.sh
+index 5638e3367..e7d57f342 100644
+--- a/build/make/configure.sh
++++ b/build/make/configure.sh
+@@ -1176,7 +1176,7 @@ EOF
darwin)
if ! enabled external_build; then
@@ -9,12 +20,6 @@
CXX="$(${XCRUN_FIND} clang++)"
CC="$(${XCRUN_FIND} clang)"
AR="$(${XCRUN_FIND} ar)"
-@@ -1200,7 +1200,7 @@
- add_cflags -arch ${tgt_isa}
- add_ldflags -arch ${tgt_isa}
-
-- alt_libc="$(show_darwin_sdk_path iphoneos)"
-+ alt_libc="$(show_darwin_sdk_path macosx)"
- if [ -d "${alt_libc}" ]; then
- add_cflags -isysroot ${alt_libc}
- fi
+--
+2.52.0.windows.1
+
=====================================
contrib/src/vpx/libvpx-ios.patch
=====================================
@@ -1,6 +1,17 @@
---- libvpx/build/make/configure.sh 2025-01-10 14:30:59.000000000 -0500
-+++ libvpx-new/build/make/configure.sh 2025-04-16 16:06:21.962173179 -0400
-@@ -903,109 +903,6 @@
+From e9920a2862dd75b153a5be6318c8f478971089a2 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Felix=20Paul=20K=C3=BChne?= <fkuehne at videolan.org>
+Date: Wed, 5 Nov 2014 21:02:13 +0100
+Subject: [PATCH 2/6] fix compilation for iOS
+
+---
+ build/make/configure.sh | 9 ---------
+ 1 file changed, 9 deletions(-)
+
+diff --git a/build/make/configure.sh b/build/make/configure.sh
+index eb479ddec..2b5075c23 100644
+--- a/build/make/configure.sh
++++ b/build/make/configure.sh
+@@ -903,15 +903,6 @@ process_common_toolchain() {
;;
esac
@@ -13,113 +24,9 @@
-#endif
-EOF
-
-- # Minimum iOS version for all target platforms (darwin and iphonesimulator).
-- # Shared library framework builds are only possible on iOS 8 and later.
-- if enabled shared; then
-- IOS_VERSION_OPTIONS="--enable-shared"
-- IOS_VERSION_MIN="8.0"
-- else
-- IOS_VERSION_OPTIONS=""
-- IOS_VERSION_MIN="7.0"
-- fi
--
-- # Handle darwin variants. Newer SDKs allow targeting older
-- # platforms, so use the newest one available.
-- case ${toolchain} in
-- arm*-darwin-*)
-- add_cflags "-miphoneos-version-min=${IOS_VERSION_MIN}"
-- iphoneos_sdk_dir="$(show_darwin_sdk_path iphoneos)"
-- if [ -d "${iphoneos_sdk_dir}" ]; then
-- add_cflags "-isysroot ${iphoneos_sdk_dir}"
-- add_ldflags "-isysroot ${iphoneos_sdk_dir}"
-- fi
-- ;;
-- *-darwin*)
-- osx_sdk_dir="$(show_darwin_sdk_path macosx)"
-- if [ -d "${osx_sdk_dir}" ]; then
-- add_cflags "-isysroot ${osx_sdk_dir}"
-- add_ldflags "-isysroot ${osx_sdk_dir}"
-- fi
-- ;;
-- esac
--
-- case ${toolchain} in
-- *-darwin8-*)
-- add_cflags "-mmacosx-version-min=10.4"
-- add_ldflags "-mmacosx-version-min=10.4"
-- ;;
-- *-darwin9-*)
-- add_cflags "-mmacosx-version-min=10.5"
-- add_ldflags "-mmacosx-version-min=10.5"
-- ;;
-- *-darwin10-*)
-- add_cflags "-mmacosx-version-min=10.6"
-- add_ldflags "-mmacosx-version-min=10.6"
-- ;;
-- *-darwin11-*)
-- add_cflags "-mmacosx-version-min=10.7"
-- add_ldflags "-mmacosx-version-min=10.7"
-- ;;
-- *-darwin12-*)
-- add_cflags "-mmacosx-version-min=10.8"
-- add_ldflags "-mmacosx-version-min=10.8"
-- ;;
-- *-darwin13-*)
-- add_cflags "-mmacosx-version-min=10.9"
-- add_ldflags "-mmacosx-version-min=10.9"
-- ;;
-- *-darwin14-*)
-- add_cflags "-mmacosx-version-min=10.10"
-- add_ldflags "-mmacosx-version-min=10.10"
-- ;;
-- *-darwin15-*)
-- add_cflags "-mmacosx-version-min=10.11"
-- add_ldflags "-mmacosx-version-min=10.11"
-- ;;
-- *-darwin16-*)
-- add_cflags "-mmacosx-version-min=10.12"
-- add_ldflags "-mmacosx-version-min=10.12"
-- ;;
-- *-darwin17-*)
-- add_cflags "-mmacosx-version-min=10.13"
-- add_ldflags "-mmacosx-version-min=10.13"
-- ;;
-- *-darwin18-*)
-- add_cflags "-mmacosx-version-min=10.14"
-- add_ldflags "-mmacosx-version-min=10.14"
-- ;;
-- *-darwin19-*)
-- add_cflags "-mmacosx-version-min=10.15"
-- add_ldflags "-mmacosx-version-min=10.15"
-- ;;
-- *-darwin2[0-4]-*)
-- add_cflags "-arch ${toolchain%%-*}"
-- add_ldflags "-arch ${toolchain%%-*}"
-- ;;
-- *-iphonesimulator-*)
-- add_cflags "-miphoneos-version-min=${IOS_VERSION_MIN}"
-- add_ldflags "-miphoneos-version-min=${IOS_VERSION_MIN}"
-- iossim_sdk_dir="$(show_darwin_sdk_path iphonesimulator)"
-- if [ -d "${iossim_sdk_dir}" ]; then
-- add_cflags "-isysroot ${iossim_sdk_dir}"
-- add_ldflags "-isysroot ${iossim_sdk_dir}"
-- fi
-- ;;
-- esac
--
- # Handle Solaris variants. Solaris 10 needs -lposix4
- case ${toolchain} in
- sparc-solaris-*)
-@@ -1205,12 +1102,6 @@
- add_cflags -isysroot ${alt_libc}
- fi
-
-- if [ "${LD}" = "${CXX}" ]; then
-- add_ldflags -miphoneos-version-min="${IOS_VERSION_MIN}"
-- else
-- add_ldflags -ios_version_min "${IOS_VERSION_MIN}"
-- fi
--
- for d in lib usr/lib usr/lib/system; do
- try_dir="${alt_libc}/${d}"
- [ -d "${try_dir}" ] && add_ldflags -L"${try_dir}"
+ if [ 0 -eq 1 ]; then
+ # Minimum iOS version for all target platforms (darwin and iphonesimulator).
+ # Shared library framework builds are only possible on iOS 8 and later.
+--
+2.52.0.windows.1
+
=====================================
contrib/src/vpx/libvpx-remove-bitcode.patch
=====================================
@@ -1,11 +1,28 @@
---- libvpx/build/make/configure.sh 2025-01-10 14:30:59.000000000 -0500
-+++ libvpx-new/build/make/configure.sh 2025-04-16 16:13:01.119638658 -0400
-@@ -1228,12 +1228,6 @@
+From 705e989af0ebc6600c5d30eccdebbd65c648f8fe Mon Sep 17 00:00:00 2001
+From: Alexandre Janniaux <ajanni at videolabs.io>
+Date: Wed, 29 Apr 2020 18:25:05 +0200
+Subject: [PATCH 6/6] allow compiling without bitcode
+
+As vpx buildsystem adds -fembed-bitcode as long as iphone target is > 8
+it makes the build fails on compilers not supporting bitcode embedding.
+
+In any case, we enable bitcode embedding ourselves by adding it to the
+contribs CFLAGS, which ends up in --extra-cflags in vpx.
+---
+ build/make/configure.sh | 7 -------
+ 1 file changed, 7 deletions(-)
+
+diff --git a/build/make/configure.sh b/build/make/configure.sh
+index e7d57f342..cf8c6beb1 100644
+--- a/build/make/configure.sh
++++ b/build/make/configure.sh
+@@ -1223,13 +1223,6 @@ fi
fi
;;
esac
-
-- if [ "$(show_darwin_sdk_major_version iphoneos)" -gt 8 ]; then
+- if [ "$(show_darwin_sdk_major_version iphoneos)" -gt 8 ] \
+- && [ "$(show_xcode_version | cut -d. -f1)" -lt 16 ]; then
- check_add_cflags -fembed-bitcode
- check_add_asflags -fembed-bitcode
- check_add_ldflags -fembed-bitcode
@@ -13,3 +30,6 @@
fi
asm_conversion_cmd="${source_path_mk}/build/make/ads2gas_apple.pl"
+--
+2.52.0.windows.1
+
=====================================
contrib/src/vpx/rules.mak
=====================================
@@ -1,6 +1,6 @@
# libvpx
-VPX_VERSION := 1.15.2
+VPX_VERSION := 1.16.0
VPX_URL := $(GITHUB)/webmproject/libvpx/archive/v${VPX_VERSION}.tar.gz
ifneq ($(filter arm aarch64 i386 loongarch64 mipsel mips64el ppc64le x86_64, $(ARCH)),)
@@ -17,9 +17,12 @@ $(TARBALLS)/libvpx-$(VPX_VERSION).tar.gz:
libvpx: libvpx-$(VPX_VERSION).tar.gz .sum-vpx
$(UNPACK)
+ $(APPLY) $(SRC)/vpx/0001-Disable-forcing-flags-for-Apple-targets.patch
$(APPLY) $(SRC)/vpx/libvpx-ios.patch
+ $(APPLY) $(SRC)/vpx/0001-do-not-use-CLOCK_MONOTONIC_RAW-in-older-iOS-macOS.patch
ifdef HAVE_ANDROID
- $(APPLY) $(SRC)/vpx/libvpx-android.patch
+ $(APPLY) $(SRC)/vpx/0003-fix-x86-android-build-with-encoders.patch
+ $(APPLY) $(SRC)/vpx/0004-fix-android-build.patch
cp "${ANDROID_NDK}"/sources/android/cpufeatures/cpu-features.c $(UNPACK_DIR)/vpx_ports
cp "${ANDROID_NDK}"/sources/android/cpufeatures/cpu-features.h $(UNPACK_DIR)
endif
@@ -32,6 +35,7 @@ endif
# Disable automatic addition of -fembed-bitcode for iOS
# as it is enabled through --extra-cflags if necessary.
$(APPLY) $(SRC)/vpx/libvpx-remove-bitcode.patch
+ $(APPLY) $(SRC)/vpx/0001-fix-compilation-with-Apple-Clang-13.patch
# make sure we can build when targetting Windows XP
$(APPLY) $(SRC)/vpx/0001-force-detection-of-pthread-on-Windows.patch
$(MOVE)
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/d65165acbb77e89ababd5d5e3800f529fd47b090
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/d65165acbb77e89ababd5d5e3800f529fd47b090
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help
More information about the vlc-commits
mailing list