Truly independent web browser
Meta: Update ffmpeg to version 9.0.2#1
Timothy Flynnf898004952b2
diff --git a/Meta/CMake/flatpak/org.ladybird.Ladybird.json b/Meta/CMake/flatpak/org.ladybird.Ladybird.jsonindex 1989d583eee..1f7000605b1 100644--- a/Meta/CMake/flatpak/org.ladybird.Ladybird.json+++ b/Meta/CMake/flatpak/org.ladybird.Ladybird.json@@ -634,7 +634,7 @@"name": "ffmpeg","buildsystem": "simple","build-commands": [- "./configure --prefix=/app --libdir=/app/lib --enable-shared --disable-static --enable-pic --disable-doc --enable-debug --enable-runtime-cpudetect --disable-autodetect --build-suffix=-ladybird --disable-everything --disable-network --disable-ffmpeg --disable-ffplay --disable-ffprobe --enable-avcodec --disable-avdevice --enable-avformat --disable-avfilter --disable-postproc --enable-swresample --disable-swscale --enable-libdav1d --enable-zlib --enable-decoder=vp8,vp9,libdav1d,theora,vorbis,opus,flac,mp3float,pcm_u8,pcm_s16le,pcm_s24le,pcm_s32le,pcm_f32le,pcm_alaw,pcm_mulaw --enable-parser=vp8,vp9,av1,flac,mpegaudio --enable-demuxer=ogg,flac,wav --disable-optimizations",+ "./configure --prefix=/app --libdir=/app/lib --enable-shared --disable-static --enable-pic --disable-doc --enable-debug --enable-runtime-cpudetect --disable-autodetect --build-suffix=-ladybird --disable-everything --disable-network --disable-ffmpeg --disable-ffplay --disable-ffprobe --enable-avcodec --disable-avdevice --enable-avformat --disable-avfilter --enable-swresample --disable-swscale --enable-libdav1d --enable-zlib --enable-decoder=vp8,vp9,libdav1d,theora,vorbis,opus,flac,mp3float,pcm_u8,pcm_s16le,pcm_s24le,pcm_s32le,pcm_f32le,pcm_alaw,pcm_mulaw --enable-parser=vp8,vp9,av1,flac,mpegaudio --enable-demuxer=ogg,flac,wav --disable-optimizations","make -j$(nproc) V=1","make install"],@@ -642,8 +642,8 @@{"type": "git","url": "https://github.com/FFmpeg/FFmpeg.git",- "commit": "db69d06eeeab4f46da15030a80d539efb4503ca8",- "tag": "n7.1.1"+ "commit": "946fcce07b6dcd0331c8cc609192aeff5e1924f8",+ "tag": "n9.0.2"},{"type": "patch",diff --git a/Meta/CMake/vcpkg/overlay-ports/ffmpeg/0001-create-lib-libraries.patch b/Meta/CMake/vcpkg/overlay-ports/ffmpeg/0001-create-lib-libraries.patchdeleted file mode 100644index ced7ba86be2..00000000000--- a/Meta/CMake/vcpkg/overlay-ports/ffmpeg/0001-create-lib-libraries.patch+++ /dev/null@@ -1,27 +0,0 @@-diff --git a/configure b/configure-index 1f0b9497cb..3243e23021 100644---- a/configure-+++ b/configure-@@ -5697,17 +5697,19 @@ case $target_os in- ;;- win32|win64)- disable symver-- if enabled shared; then-+# if enabled shared; then- # Link to the import library instead of the normal static library- # for shared libs.- LD_LIB='%.lib'- # Cannot build both shared and static libs with MSVC or icl.-- disable static-- fi-+# disable static-+# fi- ! enabled small && test_cmd $windres --version && enable gnu_windres- enabled x86_32 && check_ldflags -LARGEADDRESSAWARE- add_cppflags -DWIN32_LEAN_AND_MEAN- shlibdir_default="$bindir_default"-+ LIBPREF=""-+ LIBSUF=".lib"- SLIBPREF=""- SLIBSUF=".dll"- SLIBNAME_WITH_VERSION='$(SLIBPREF)$(FULLNAME)-$(LIBVERSION)$(SLIBSUF)'diff --git a/Meta/CMake/vcpkg/overlay-ports/ffmpeg/0002-fix-msvc-link.patch b/Meta/CMake/vcpkg/overlay-ports/ffmpeg/0002-fix-msvc-link.patchdeleted file mode 100644index c9aa7e75237..00000000000--- a/Meta/CMake/vcpkg/overlay-ports/ffmpeg/0002-fix-msvc-link.patch+++ /dev/null@@ -1,11 +0,0 @@-diff --git a/configure b/configure---- a/configure-+++ b/configure-@@ -6162,6 +6162,7 @@ EOF- test -n "$extern_prefix" && append X86ASMFLAGS "-DPREFIX"- case "$objformat" in- elf*) enabled debug && append X86ASMFLAGS $x86asm_debug ;;-+ win*) enabled debug && append X86ASMFLAGS "-g" ;;- esac-- enabled avx512 && check_x86asm avx512_external "vmovdqa32 [eax]{k1}{z}, zmm0"diff --git a/Meta/CMake/vcpkg/overlay-ports/ffmpeg/0004-dependencies.patch b/Meta/CMake/vcpkg/overlay-ports/ffmpeg/0004-dependencies.patchindex f1f6e72bee3..1033ec80c7e 100644--- a/Meta/CMake/vcpkg/overlay-ports/ffmpeg/0004-dependencies.patch+++ b/Meta/CMake/vcpkg/overlay-ports/ffmpeg/0004-dependencies.patch@@ -1,27 +1,29 @@diff --git a/configure b/configure-index a8b74e0..c99f41c 100755+index 1759694..fcbae49 100644--- a/configure+++ b/configure-@@ -6633,7 +6633,7 @@ fi+@@ -7184,7 +7184,7 @@ fi- enabled zlib && { check_pkg_config zlib zlib "zlib.h" zlibVersion ||- check_lib zlib zlib.h zlibVersion -lz; }+-enabled zlib && { check_pkg_config zlib zlib "zlib.h" zlibVersion ||+- check_lib zlib zlib.h zlibVersion -lz; }-enabled bzlib && check_lib bzlib bzlib.h BZ2_bzlibVersion -lbz2++++enabled zlib && require_pkg_config zlib zlib zlib.h zlibVersion+enabled bzlib && require_pkg_config bzlib bzip2 bzlib.h BZ2_bzlibVersionenabled lzma && check_lib lzma lzma.h lzma_version_number -llzmaenabled zlib && test_exec $zlib_extralibs <<EOF && enable zlib_gzip-@@ -6757,7 +6757,8 @@ if enabled libmfx; then+@@ -7322,7 +7322,8 @@ if enabled libmfx; thenfienabled libmodplug && require_pkg_config libmodplug libmodplug libmodplug/modplug.h ModPlug_Load-enabled libmp3lame && require "libmp3lame >= 3.98.3" lame/lame.h lame_set_VBR_quality -lmp3lame $libm_extralibs-+enabled libmp3lame && { check_lib libmp3lame lame/lame.h lame_set_VBR_quality -lmp3lame $libm_extralibs ||-+ require libmp3lame lame/lame.h lame_set_VBR_quality -llibmp3lame-static -llibmpghip-static $libm_extralibs; }++enabled libmp3lame && { check_lib libmp3lame lame/lame.h lame_set_VBR_quality -lmp3lame $libm_extralibs ||++ require libmp3lame lame/lame.h lame_set_VBR_quality -llibmp3lame-static -llibmpghip-static $libm_extralibs; }+ enabled libmpeghdec && require_pkg_config libmpeghdec "mpeghdec >= 3.0.0" mpeghdec/mpeghdecoder.h mpeghdecoder_initenabled libmysofa && { check_pkg_config libmysofa libmysofa mysofa.h mysofa_neighborhood_init_withstepdefine ||require libmysofa mysofa.h mysofa_neighborhood_init_withstepdefine -lmysofa $zlib_extralibs; }- enabled libnpp && { check_lib libnpp npp.h nppGetLibVersion -lnppig -lnppicc -lnppc -lnppidei -lnppif ||-@@ -6772,7 +6773,7 @@ require_pkg_config libopencv opencv opencv/cxcore.h cvCreateImageHeader; }+@@ -7343,7 +7344,7 @@ enabled libopencolorio && require_pkg_config_cxx libopencolorio "OpenColorIO"enabled libopenh264 && require_pkg_config libopenh264 "openh264 >= 1.3.0" wels/codec_api.h WelsGetCodecVersionenabled libopenjpeg && { check_pkg_config libopenjpeg "libopenjp2 >= 2.1.0" openjpeg.h opj_version ||{ require_pkg_config libopenjpeg "libopenjp2 >= 2.1.0" openjpeg.h opj_version -DOPJ_STATIC && add_cppflags -DOPJ_STATIC; } }@@ -30,7 +32,7 @@ index a8b74e0..c99f41c 100755enabled libopenvino && { { check_pkg_config libopenvino openvino openvino/c/openvino.h ov_core_create && enable openvino2; } ||{ check_pkg_config libopenvino openvino c_api/ie_c_api.h ie_c_api_version ||require libopenvino c_api/ie_c_api.h ie_c_api_version -linference_engine_c_api; } }-@@ -6796,8 +6797,8 @@ enabled libshaderc && require_pkg_config spirv_compiler "shaderc >= 2019.+@@ -7369,8 +7370,8 @@ enabled libshaderc && require_pkg_config spirv_library "shaderc >= 2019.1enabled libshine && require_pkg_config libshine shine shine/layer3.h shine_encode_bufferenabled libsmbclient && { check_pkg_config libsmbclient smbclient libsmbclient.h smbc_init ||require libsmbclient libsmbclient.h smbc_init -lsmbclient; }@@ -41,7 +43,7 @@ index a8b74e0..c99f41c 100755enabled libssh && require_pkg_config libssh "libssh >= 0.6.0" libssh/sftp.h sftp_initenabled libspeex && require_pkg_config libspeex speex speex/speex.h speex_decoder_initenabled libsrt && require_pkg_config libsrt "srt >= 1.3.0" srt/srt.h srt_socket-@@ -6880,6 +6881,8 @@ enabled openal && { check_pkg_config openal "openal >= 1.1" "AL/al.h"+@@ -7470,6 +7471,8 @@ enabled openal && { check_pkg_config openal "openal >= 1.1" "AL/al.h"enabled opencl && { check_pkg_config opencl OpenCL CL/cl.h clEnqueueNDRangeKernel ||check_lib opencl OpenCL/cl.h clEnqueueNDRangeKernel "-framework OpenCL" ||check_lib opencl CL/cl.h clEnqueueNDRangeKernel -lOpenCL ||@@ -50,9 +52,7 @@ index a8b74e0..c99f41c 100755die "ERROR: opencl not found"; } &&{ test_cpp_condition "OpenCL/cl.h" "defined(CL_VERSION_1_2)" ||test_cpp_condition "CL/cl.h" "defined(CL_VERSION_1_2)" ||-@@ -7204,10 +7207,10 @@ enabled amf &&- "(AMF_VERSION_MAJOR << 48 | AMF_VERSION_MINOR << 32 | AMF_VERSION_RELEASE << 16 | AMF_VERSION_BUILD_NUM) >= 0x0001000400210000"-+@@ -7838,7 +7841,7 @@ enabled amf &&# Funny iconv installations are not unusual, so check it after all flags have been set-if enabled libc_iconv; then+if enabled libc_iconv && disabled iconv; then@@ -62,4 +62,4 @@ index a8b74e0..c99f41c 100755+ check_func_headers iconv.h iconv || check_lib iconv iconv.h iconv -liconv || check_lib iconv iconv.h iconv -liconv -lcharsetfi- enabled debug && add_cflags -g"$debuglevel" && add_asflags -g"$debuglevel"+ enabled debug && add_allcflags -g"$debuglevel" && add_asflags -g"$debuglevel"diff --git a/Meta/CMake/vcpkg/overlay-ports/ffmpeg/0005-fix-nasm.patch b/Meta/CMake/vcpkg/overlay-ports/ffmpeg/0005-fix-nasm.patchindex 68b7503b244..a7fcb698b68 100644--- a/Meta/CMake/vcpkg/overlay-ports/ffmpeg/0005-fix-nasm.patch+++ b/Meta/CMake/vcpkg/overlay-ports/ffmpeg/0005-fix-nasm.patch@@ -1,78 +1,138 @@+diff --git a/libavcodec/x86/apv_dsp.asm b/libavcodec/x86/apv_dsp.asm+index e2f30ff..3befc7c 100644+--- a/libavcodec/x86/apv_dsp.asm++++ b/libavcodec/x86/apv_dsp.asm+@@ -18,7 +18,10 @@++ %include "libavutil/x86/x86util.asm"++-%if ARCH_X86_64++%ifn ARCH_X86_64++SECTION .rdata++apv_dsp_placeholder: times 4 db 0++%else++ SECTION_RODATA 32+diff --git a/libavcodec/x86/mlpdsp.asm b/libavcodec/x86/mlpdsp.asmindex 3dc641e..609b834 100644--- a/libavcodec/x86/mlpdsp.asm+++ b/libavcodec/x86/mlpdsp.asm@@ -23,7 +23,9 @@-+SECTION .text-+-%if ARCH_X86_64+%ifn ARCH_X86_64+mlpdsp_placeholder: times 4 db 0+%else-+%macro SHLX 2%if cpuflag(bmi2)diff --git a/libavcodec/x86/proresdsp.asm b/libavcodec/x86/proresdsp.asmindex 65c9fad..5ad73f3 100644--- a/libavcodec/x86/proresdsp.asm+++ b/libavcodec/x86/proresdsp.asm-@@ -24,7 +24,10 @@-+@@ -24,6 +24,9 @@+%include "libavutil/x86/x86util.asm"-+-%if ARCH_X86_64+%ifn ARCH_X86_64+SECTION .rdata+proresdsp_placeholder: times 4 db 0+%else-+SECTION_RODATA--diff --git a/libavcodec/x86/vvc/vvc_mc.asm b/libavcodec/x86/vvc/vvc_mc.asm-index 30aa97c..3975f98 100644---- a/libavcodec/x86/vvc/vvc_mc.asm-+++ b/libavcodec/x86/vvc/vvc_mc.asm+diff --git a/libavcodec/x86/vp9itxfm_16bpp_avx512.asm b/libavcodec/x86/vp9itxfm_16bpp_avx512.asm+index 1924233..17a0ce4 100644+--- a/libavcodec/x86/vp9itxfm_16bpp_avx512.asm++++ b/libavcodec/x86/vp9itxfm_16bpp_avx512.asm+@@ -22,6 +22,9 @@++ %include "libavutil/x86/x86util.asm"++-%if ARCH_X86_64 && HAVE_AVX512ICL_EXTERNAL++%ifn ARCH_X86_64 && HAVE_AVX512ICL_EXTERNAL++SECTION .rdata++vp9itxfm_16bpp_avx512_placeholder: times 4 db 0++%else++ SECTION_RODATA 64+diff --git a/libavcodec/x86/vp9itxfm_avx2.asm b/libavcodec/x86/vp9itxfm_avx2.asm+index c5ee242..5fe077f 100644+--- a/libavcodec/x86/vp9itxfm_avx2.asm++++ b/libavcodec/x86/vp9itxfm_avx2.asm+@@ -22,7 +22,10 @@++ %include "libavutil/x86/x86util.asm"++-%if ARCH_X86_64 && HAVE_AVX2_EXTERNAL++%ifn ARCH_X86_64 && HAVE_AVX2_EXTERNAL++SECTION .rdata++vp9itxfm_avx2_placeholder: times 4 db 0++%else++ SECTION_RODATA 16++diff --git a/libavcodec/x86/vp9itxfm_avx512.asm b/libavcodec/x86/vp9itxfm_avx512.asm+index d51c507..1f16ba2 100644+--- a/libavcodec/x86/vp9itxfm_avx512.asm++++ b/libavcodec/x86/vp9itxfm_avx512.asm+@@ -22,7 +22,10 @@++ %include "libavutil/x86/x86util.asm"++-%if ARCH_X86_64 && HAVE_AVX512ICL_EXTERNAL++%ifn ARCH_X86_64 && HAVE_AVX512ICL_EXTERNAL++SECTION .rdata++vp9itxfm_avx512_placeholder: times 4 db 0++%else++ SECTION_RODATA 64++diff --git a/libavcodec/x86/vvc/mc.asm b/libavcodec/x86/vvc/mc.asm+index 4f078ea..5cf095b 100644+--- a/libavcodec/x86/vvc/mc.asm++++ b/libavcodec/x86/vvc/mc.asm@@ -31,7 +31,9 @@-- SECTION_RODATA 32-++ SECTION_RODATA+-%if ARCH_X86_64+%ifn ARCH_X86_64+vvc_mc_placeholder: times 4 db 0+%else-+%if HAVE_AVX2_EXTERNAL-+diff --git a/libavfilter/x86/vf_atadenoise.asm b/libavfilter/x86/vf_atadenoise.asm-index 4945ad3..748b65a 100644+index 059605d..4e47e89 100644--- a/libavfilter/x86/vf_atadenoise.asm+++ b/libavfilter/x86/vf_atadenoise.asm-@@ -20,7 +20,10 @@- ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA- ;******************************************************************************-+@@ -21,6 +21,9 @@+ %include "libavutil/x86/x86util.asm"+-%if ARCH_X86_64+%ifn ARCH_X86_64+SECTION .rdata+vf_atadenoise_placeholder: times 4 db 0+%else-- %include "libavutil/x86/x86util.asm"-++ SECTION_RODATA+ pw_one: times 8 dw 1diff --git a/libavfilter/x86/vf_nlmeans.asm b/libavfilter/x86/vf_nlmeans.asmindex 8f57801..9aef3a4 100644--- a/libavfilter/x86/vf_nlmeans.asm+++ b/libavfilter/x86/vf_nlmeans.asm-@@ -21,7 +21,10 @@-+@@ -21,6 +21,9 @@+%include "libavutil/x86/x86util.asm"-+-%if HAVE_AVX2_EXTERNAL && ARCH_X86_64+%ifn HAVE_AVX2_EXTERNAL && ARCH_X86_64+SECTION .rdata+vf_nlmeans_placeholder: times 4 db 0+%else-+SECTION_RODATA 32-diff --git a/Meta/CMake/vcpkg/overlay-ports/ffmpeg/0007-fix-lib-naming.patch b/Meta/CMake/vcpkg/overlay-ports/ffmpeg/0007-fix-lib-naming.patchindex c22f9c1999d..bee4eb8ad1f 100644--- a/Meta/CMake/vcpkg/overlay-ports/ffmpeg/0007-fix-lib-naming.patch+++ b/Meta/CMake/vcpkg/overlay-ports/ffmpeg/0007-fix-lib-naming.patch@@ -2,9 +2,9 @@ diff --git a/configure b/configureindex d6c4388..75b96c3 100644--- a/configure+++ b/configure-@@ -4781,6 +4781,7 @@ msvc_common_flags(){+@@ -4781,6 +4781,6 @@ msvc_common_flags(){-mfp16-format=*) ;;- -lz) echo zlib.lib ;;+- -lz) echo zlib.lib ;;-lx264) echo libx264.lib ;;+ -lmp3lame) echo libmp3lame.lib ;;-lstdc++) ;;diff --git a/Meta/CMake/vcpkg/overlay-ports/ffmpeg/0020-fix-aarch64-libswscale.patch b/Meta/CMake/vcpkg/overlay-ports/ffmpeg/0020-fix-aarch64-libswscale.patchdeleted file mode 100644index f47e82ed8a2..00000000000--- a/Meta/CMake/vcpkg/overlay-ports/ffmpeg/0020-fix-aarch64-libswscale.patch+++ /dev/null@@ -1,28 +0,0 @@-diff --git a/libswscale/aarch64/yuv2rgb_neon.S b/libswscale/aarch64/yuv2rgb_neon.S-index 89d69e7f6c..4bc1607a7a 100644---- a/libswscale/aarch64/yuv2rgb_neon.S-+++ b/libswscale/aarch64/yuv2rgb_neon.S-@@ -169,19 +169,19 @@ function ff_\ifmt\()_to_\ofmt\()_neon, export=1- sqdmulh v26.8h, v26.8h, v0.8h // ((Y1*(1<<3) - y_offset) * y_coeff) >> 15- sqdmulh v27.8h, v27.8h, v0.8h // ((Y2*(1<<3) - y_offset) * y_coeff) >> 15---.ifc \ofmt,argb // 1 2 3 0-+.ifc \ofmt,argb- compute_rgba v5.8b,v6.8b,v7.8b,v4.8b, v17.8b,v18.8b,v19.8b,v16.8b- .endif---.ifc \ofmt,rgba // 0 1 2 3-+.ifc \ofmt,rgba- compute_rgba v4.8b,v5.8b,v6.8b,v7.8b, v16.8b,v17.8b,v18.8b,v19.8b- .endif---.ifc \ofmt,abgr // 3 2 1 0-+.ifc \ofmt,abgr- compute_rgba v7.8b,v6.8b,v5.8b,v4.8b, v19.8b,v18.8b,v17.8b,v16.8b- .endif---.ifc \ofmt,bgra // 2 1 0 3-+.ifc \ofmt,bgra- compute_rgba v6.8b,v5.8b,v4.8b,v7.8b, v18.8b,v17.8b,v16.8b,v19.8b- .endif-diff --git a/Meta/CMake/vcpkg/overlay-ports/ffmpeg/0041-add-const-for-opengl-definition.patch b/Meta/CMake/vcpkg/overlay-ports/ffmpeg/0041-add-const-for-opengl-definition.patchdeleted file mode 100644index b22b40d1f37..00000000000--- a/Meta/CMake/vcpkg/overlay-ports/ffmpeg/0041-add-const-for-opengl-definition.patch+++ /dev/null@@ -1,13 +0,0 @@-diff --git a/libavdevice/opengl_enc.c b/libavdevice/opengl_enc.c-index b2ac6eb..6351614 100644---- a/libavdevice/opengl_enc.c-+++ b/libavdevice/opengl_enc.c-@@ -116,7 +116,7 @@ typedef void (APIENTRY *FF_PFNGLATTACHSHADERPROC) (GLuint program, GLuint shad- typedef GLuint (APIENTRY *FF_PFNGLCREATESHADERPROC) (GLenum type);- typedef void (APIENTRY *FF_PFNGLDELETESHADERPROC) (GLuint shader);- typedef void (APIENTRY *FF_PFNGLCOMPILESHADERPROC) (GLuint shader);--typedef void (APIENTRY *FF_PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const char* *string, const GLint *length);-+typedef void (APIENTRY *FF_PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const char* const *string, const GLint *length);- typedef void (APIENTRY *FF_PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint *params);- typedef void (APIENTRY *FF_PFNGLGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, char *infoLog);-diff --git a/Meta/CMake/vcpkg/overlay-ports/ffmpeg/0042-fix-arm64-linux.patch b/Meta/CMake/vcpkg/overlay-ports/ffmpeg/0042-fix-arm64-linux.patchdeleted file mode 100644index 6ff63c3718d..00000000000--- a/Meta/CMake/vcpkg/overlay-ports/ffmpeg/0042-fix-arm64-linux.patch+++ /dev/null@@ -1,9 +0,0 @@-diff --git a/ffbuild/libversion.sh b/ffbuild/libversion.sh-index a94ab58..ecaa90c 100644---- a/ffbuild/libversion.sh-+++ b/ffbuild/libversion.sh-@@ -1,3 +1,4 @@-+#!/bin/sh- toupper(){- echo "$@" | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ- }diff --git a/Meta/CMake/vcpkg/overlay-ports/ffmpeg/0043-fix-miss-head.patch b/Meta/CMake/vcpkg/overlay-ports/ffmpeg/0043-fix-miss-head.patchdeleted file mode 100644index bad42798c83..00000000000--- a/Meta/CMake/vcpkg/overlay-ports/ffmpeg/0043-fix-miss-head.patch+++ /dev/null@@ -1,12 +0,0 @@-diff --git a/libavfilter/textutils.c b/libavfilter/textutils.c-index ef658d0..c61b0ad 100644---- a/libavfilter/textutils.c-+++ b/libavfilter/textutils.c-@@ -31,6 +31,7 @@- #include "libavutil/file.h"- #include "libavutil/mem.h"- #include "libavutil/time.h"-+#include "libavutil/time_internal.h"-- static int ff_expand_text_function_internal(FFExpandTextContext *expand_text, AVBPrint *bp,- char *name, unsigned argc, char **argv)diff --git a/Meta/CMake/vcpkg/overlay-ports/ffmpeg/0044-fix-vulkan-debug-callback-abi.patch b/Meta/CMake/vcpkg/overlay-ports/ffmpeg/0044-fix-vulkan-debug-callback-abi.patchdeleted file mode 100644index d80e468a693..00000000000--- a/Meta/CMake/vcpkg/overlay-ports/ffmpeg/0044-fix-vulkan-debug-callback-abi.patch+++ /dev/null@@ -1,13 +0,0 @@-diff --git a/libavutil/hwcontext_vulkan.c b/libavutil/hwcontext_vulkan.c-index 6317ab7d0e..f1f70e9b96 100644---- a/libavutil/hwcontext_vulkan.c-+++ b/libavutil/hwcontext_vulkan.c-@@ -453,7 +453,7 @@ static const VulkanOptExtension optional_device_exts[] = {- { VK_KHR_VIDEO_DECODE_AV1_EXTENSION_NAME, FF_VK_EXT_VIDEO_DECODE_AV1 },- };---static VkBool32 VKAPI_CALL vk_dbg_callback(VkDebugUtilsMessageSeverityFlagBitsEXT severity,-+static VKAPI_ATTR VkBool32 VKAPI_CALL vk_dbg_callback(VkDebugUtilsMessageSeverityFlagBitsEXT severity,- VkDebugUtilsMessageTypeFlagsEXT messageType,- const VkDebugUtilsMessengerCallbackDataEXT *data,- void *priv)diff --git a/Meta/CMake/vcpkg/overlay-ports/ffmpeg/0045-use-prebuilt-bin2c.patch b/Meta/CMake/vcpkg/overlay-ports/ffmpeg/0045-use-prebuilt-bin2c.patchnew file mode 100644index 00000000000..00757c791ba--- /dev/null+++ b/Meta/CMake/vcpkg/overlay-ports/ffmpeg/0045-use-prebuilt-bin2c.patch@@ -0,0 +1,24 @@+diff --git a/ffbuild/common.mak b/ffbuild/common.mak+index 06d6f39..53862c3 100644+--- a/ffbuild/common.mak++++ b/ffbuild/common.mak+@@ -21,8 +21,7 @@ LINK = $(if $(filter -lstdc++,$(1)),$(LDXX) $(filter-out -lstdc++,$(1)),$(LD) $(+ endif+ endif++-BIN2CEXE = ffbuild/bin2c$(HOSTEXESUF)+-BIN2C = $(BIN2CEXE)++BIN2C = bin2c++ ifndef V+ Q = @+@@ -122,9 +121,6 @@ COMPILE_LASX = $(call COMPILE,CC,LASXFLAGS)+ %.h.c:+ $(Q)echo '#include "$*.h"' >$@++-$(BIN2CEXE): ffbuild/bin2c_host.o+- $(HOSTLD) $(HOSTLDFLAGS) $(HOSTLD_O) $^ $(HOSTEXTRALIBS)+-+ RUN_BIN2C = $(BIN2C) $(patsubst $(SRC_PATH)/%,$(SRC_LINK)/%,$<) $@ $(subst .,_,$(basename $(notdir $@)))+ RUN_GZIP = $(M)gzip -nc9 $(patsubst $(SRC_PATH)/%,$(SRC_LINK)/%,$<) >$@+ RUN_MINIFY = $(M)sed 's!/\\*.*\\*/!!g' $< | tr '\n' ' ' | tr -s ' ' | sed 's/^ //; s/ $$//' > $@diff --git a/Meta/CMake/vcpkg/overlay-ports/ffmpeg/0046-fix-msvc-detection.patch b/Meta/CMake/vcpkg/overlay-ports/ffmpeg/0046-fix-msvc-detection.patchnew file mode 100644index 00000000000..0a60636b371--- /dev/null+++ b/Meta/CMake/vcpkg/overlay-ports/ffmpeg/0046-fix-msvc-detection.patch@@ -0,0 +1,29 @@+diff --git a/configure b/configure+index 1759694..60e0f24 100644+--- a/configure++++ b/configure+@@ -5365,12 +5365,12 @@ probe_cc(){+ _flags_filter=msvc_flags_link+ _ld_lib='%.lib'+ _ld_path='-libpath:'+- elif VSLANG=1033 $_cc -nologo- 2>&1 | grep -q ^Microsoft || { $_cc -v 2>&1 | grep -q clang && $_cc -? > /dev/null 2>&1; }; then++ elif VSLANG=1033 $_cc -nologo- 2>&1 | grep -qi Microsoft || { $_cc -v 2>&1 | grep -q clang && $_cc -? > /dev/null 2>&1; }; then+ _type=msvc+- if VSLANG=1033 $_cc -nologo- 2>&1 | grep -q ^Microsoft; then++ if VSLANG=1033 $_cc -nologo- 2>&1 | grep -qi Microsoft; then+ # Depending on the tool (cl.exe or link.exe), the version number+ # is printed on the first line of stderr or stdout+- _ident=$(VSLANG=1033 $_cc 2>&1 | grep ^Microsoft | head -n1 | tr -d '\r')++ _ident=$(VSLANG=1033 $_cc 2>&1 | grep -i Microsoft | head -n1 | tr -d '\r')+ else+ _ident=$($_cc --version 2>/dev/null | head -n1 | tr -d '\r')+ fi+@@ -5486,7 +5486,7 @@ if [ -z "$CC_DEPFLAGS" ] && [ "$dep_cc" != "$cc" ]; then+ DEPCXXFLAGS=$_flags $_cxxflags+ fi++-if VSLANG=1033 $ar 2>&1 | grep -q ^Microsoft; then++if VSLANG=1033 $ar 2>&1 | grep -qi Microsoft; then+ arflags="-nologo"+ ar_o='-out:$@'+ elif $ar 2>&1 | grep -q "\[D\] "; thendiff --git a/Meta/CMake/vcpkg/overlay-ports/ffmpeg/0047-fix-msvc-utf8.patch b/Meta/CMake/vcpkg/overlay-ports/ffmpeg/0047-fix-msvc-utf8.patchnew file mode 100644index 00000000000..6c4304a95e1--- /dev/null+++ b/Meta/CMake/vcpkg/overlay-ports/ffmpeg/0047-fix-msvc-utf8.patch@@ -0,0 +1,13 @@+diff --git a/configure b/configure+index 85b6a69fbb..450d1bb45f 100755+--- a/configure++++ b/configure+@@ -8146,7 +8146,7 @@ elif enabled_any msvc icl; then+ check_cflags -d2SSAOptimizer-+ # enable utf-8 source processing on VS2015 U2 and newer+ test_cpp_condition windows.h "_MSC_FULL_VER >= 190023918" &&+- add_cflags -utf-8++ add_allcflags -utf-8+ fi++ for pfx in "" host_; dodiff --git a/Meta/CMake/vcpkg/overlay-ports/ffmpeg/0049-fix-twolame-pkgconfig.patch b/Meta/CMake/vcpkg/overlay-ports/ffmpeg/0049-fix-twolame-pkgconfig.patchnew file mode 100644index 00000000000..20e0098ed4a--- /dev/null+++ b/Meta/CMake/vcpkg/overlay-ports/ffmpeg/0049-fix-twolame-pkgconfig.patch@@ -0,0 +1,15 @@+diff --git a/configure b/configure+index 6d66d1e..3a54b6c 100644+--- a/configure++++ b/configure+@@ -7384,8 +7384,8 @@ enabled libtheora && require libtheora theora/theoraenc.h th_info_init -+ enabled libtls && require_pkg_config libtls libtls tls.h tls_configure &&+ { enabled gpl && ! enabled nonfree && die "ERROR: LibreSSL is incompatible with the gpl"; }+ enabled libtorch && check_cxxflags -std=c++17 && require_cxx libtorch torch/torch.h "torch::Tensor" -ltorch -lc10 -ltorch_cpu -lstdc++ -lpthread+-enabled libtwolame && require libtwolame twolame.h twolame_init -ltwolame &&+- { check_lib libtwolame twolame.h twolame_encode_buffer_float32_interleaved -ltwolame ||++enabled libtwolame && require_pkg_config libtwolame twolame twolame.h twolame_init &&++ { check_lib libtwolame twolame.h twolame_encode_buffer_float32_interleaved $libtwolame_extralibs ||+ die "ERROR: libtwolame must be installed and version must be >= 0.3.10"; }+ enabled libuavs3d && require_pkg_config libuavs3d "uavs3d >= 1.1.41" uavs3d.h uavs3d_decode+ enabled libv4l2 && require_pkg_config libv4l2 libv4l2 libv4l2.h v4l2_ioctldiff --git a/Meta/CMake/vcpkg/overlay-ports/ffmpeg/0050-fix-test-ld-absolute-lib-paths.patch b/Meta/CMake/vcpkg/overlay-ports/ffmpeg/0050-fix-test-ld-absolute-lib-paths.patchnew file mode 100644index 00000000000..cf0fd640ec9--- /dev/null+++ b/Meta/CMake/vcpkg/overlay-ports/ffmpeg/0050-fix-test-ld-absolute-lib-paths.patch@@ -0,0 +1,15 @@+diff --git a/configure b/configure+index 1111111..2222222 100755+--- a/configure++++ b/configure+@@ -1289,8 +1289,8 @@ test_ld(){+ log test_ld "$@"+ type=$1+ shift 1+- flags=$(filter_out '-l*|*.so' $@)+- libs=$(filter '-l*|*.so' $@)++ flags=$(filter_out '-l*|*.so|*.a|*.dylib' $@)++ libs=$(filter '-l*|*.so|*.a|*.dylib' $@)+ test_$type $($cflags_filter $flags) || return+ flags=$($ldflags_filter $flags)+ libs=$($ldflags_filter $libs)diff --git a/Meta/CMake/vcpkg/overlay-ports/ffmpeg/0051-fix-msvc-undef-flags.patch b/Meta/CMake/vcpkg/overlay-ports/ffmpeg/0051-fix-msvc-undef-flags.patchnew file mode 100644index 00000000000..c78b1d20ecb--- /dev/null+++ b/Meta/CMake/vcpkg/overlay-ports/ffmpeg/0051-fix-msvc-undef-flags.patch@@ -0,0 +1,12 @@+diff --git a/configure b/configure+index 1759694..0ac07ba 100755+--- a/configure++++ b/configure+@@ -5019,6 +5019,7 @@ msvc_common_flags(){+ -L*) [ "$_flags_type" != "link" ] || echo -libpath:${flag#-L} ;;+ -I*) [ "$_flags_type" = "link" ] || echo $flag ;;+ -D*) [ "$_flags_type" = "link" ] || echo $flag ;;++ -U*) [ "$_flags_type" = "link" ] || echo $flag ;;+ -Wl,*) ;;+ *) echo $flag ;;+ esacdiff --git a/Meta/CMake/vcpkg/overlay-ports/ffmpeg/0052-fix-disable-unstable-swscale-link.patch b/Meta/CMake/vcpkg/overlay-ports/ffmpeg/0052-fix-disable-unstable-swscale-link.patchnew file mode 100644index 00000000000..f1b4d634afc--- /dev/null+++ b/Meta/CMake/vcpkg/overlay-ports/ffmpeg/0052-fix-disable-unstable-swscale-link.patch@@ -0,0 +1,40 @@+diff --git a/libswscale/format.c b/libswscale/format.c+index 0f0639f..30cb3cc 100644+--- a/libswscale/format.c++++ b/libswscale/format.c+@@ -1339,6 +1339,8 @@ linear_mat3(const AVRational m00, const AVRational m01, const AVRational m02,+ return c;+ }+++#endif+++ void ff_sws_chroma_pos(const SwsFormat *fmt, bool *incomplete,+ int *out_x_pos, int *out_y_pos)+ {+@@ -1375,6 +1377,8 @@ void ff_sws_chroma_pos(const SwsFormat *fmt, bool *incomplete,+ *out_x_pos = x_pos;+ *out_y_pos = y_pos;+ }++++#if CONFIG_UNSTABLE++ int ff_sws_decode_colors(SwsContext *ctx, SwsPixelType type,+ SwsOpList *ops, const SwsFormat *fmt, bool *incomplete)+diff --git a/libswscale/graph.c b/libswscale/graph.c+index 5b14a9c..e3e0736 100644+--- a/libswscale/graph.c++++ b/libswscale/graph.c+@@ -36,6 +36,13 @@+ #include "graph.h"+ #include "ops.h"+ #include "ops_dispatch.h"++++/* The Vulkan swscale objects are built only when unstable is enabled. */++#if CONFIG_VULKAN && !CONFIG_UNSTABLE++#undef CONFIG_VULKAN++#define CONFIG_VULKAN 0++#endif+++ #if CONFIG_VULKAN+ #include "vulkan/ops.h"+ #endifdiff --git a/Meta/CMake/vcpkg/overlay-ports/ffmpeg/FindFFMPEG.cmake.in b/Meta/CMake/vcpkg/overlay-ports/ffmpeg/FindFFMPEG.cmake.inindex 2161d9e8972..0e4e112c911 100644--- a/Meta/CMake/vcpkg/overlay-ports/ffmpeg/FindFFMPEG.cmake.in+++ b/Meta/CMake/vcpkg/overlay-ports/ffmpeg/FindFFMPEG.cmake.in@@ -55,7 +55,7 @@ function(append_dependencies out)endif()set(pass_through${CMAKE_CXX_IMPLICIT_LINK_LIBRARIES}- advapi32 bcrypt crypt32 gdi32 mfuuid ole32 oleaut32 psapi secur32 shlwapi strmiids user32 uuid vfw32 ws2_32 usp10 cfgmgr32 rpcrt4+ advapi32 bcrypt crypt32 gdi32 mfuuid ncrypt ole32 oleaut32 psapi secur32 shlwapi strmiids user32 uuid vfw32 ws2_32 usp10 cfgmgr32 rpcrt4-pthread -pthreads pthread atomic m)cmake_policy(SET CMP0057 NEW)@@ -109,9 +109,6 @@ endif()if(@ENABLE_AVCODEC@)FFMPEG_FIND(libavcodec avcodec avcodec.h)endif()-if(@ENABLE_POSTPROC@)- FFMPEG_FIND(libpostproc postproc postprocess.h)-endif()if(@ENABLE_SWRESAMPLE@)FFMPEG_FIND(libswresample swresample swresample.h)endif()diff --git a/Meta/CMake/vcpkg/overlay-ports/ffmpeg/build.sh.in b/Meta/CMake/vcpkg/overlay-ports/ffmpeg/build.sh.inindex dfb56986b6e..fd794d41c88 100644--- a/Meta/CMake/vcpkg/overlay-ports/ffmpeg/build.sh.in+++ b/Meta/CMake/vcpkg/overlay-ports/ffmpeg/build.sh.in@@ -86,7 +86,7 @@ elseficase "@VCPKG_CMAKE_SYSTEM_NAME@" in- FreeBSD|OpenBSD)+ *BSD)MAKE_BINARY="gmake";;*)diff --git a/Meta/CMake/vcpkg/overlay-ports/ffmpeg/portfile.cmake b/Meta/CMake/vcpkg/overlay-ports/ffmpeg/portfile.cmakeindex c7d3765c3a6..0fcc0ac2522 100644--- a/Meta/CMake/vcpkg/overlay-ports/ffmpeg/portfile.cmake+++ b/Meta/CMake/vcpkg/overlay-ports/ffmpeg/portfile.cmake@@ -2,22 +2,23 @@ vcpkg_from_github(OUT_SOURCE_PATH SOURCE_PATHREPO ffmpeg/ffmpegREF "n${VERSION}"- SHA512 6b9a5ee501be41d6abc7579a106263b31f787321cbc45dedee97abf992bf8236cdb2394571dd256a74154f4a20018d429ae7e7f0409611ddc4d6f529d924d175+ SHA512 21bf3fbcdfd2f41ea6edeab40433fecfe362b09ecaa177a652471b54f9357011b4f74dab18245ab1c26f1a473b94205490baecb42289afd2effd603cd0b22b59HEAD_REF masterPATCHES- 0001-create-lib-libraries.patch- 0002-fix-msvc-link.patch0003-fix-windowsinclude.patch0004-dependencies.patch0005-fix-nasm.patch0007-fix-lib-naming.patch0013-define-WINVER.patch- 0020-fix-aarch64-libswscale.patch0024-fix-osx-host-c11.patch0040-ffmpeg-add-av_stream_get_first_dts-for-chromium.patch # Do not remove this patch. It is required by chromium- 0041-add-const-for-opengl-definition.patch- 0043-fix-miss-head.patch- 0044-fix-vulkan-debug-callback-abi.patch+ 0045-use-prebuilt-bin2c.patch+ 0046-fix-msvc-detection.patch+ 0047-fix-msvc-utf8.patch+ 0049-fix-twolame-pkgconfig.patch+ 0050-fix-test-ld-absolute-lib-paths.patch+ 0051-fix-msvc-undef-flags.patch+ 0052-fix-disable-unstable-swscale-link.patch0100-ladybird-symbol-version-nodes.patch)@@ -25,13 +26,15 @@ if(SOURCE_PATH MATCHES " ")message(FATAL_ERROR "Error: ffmpeg will not build with spaces in the path. Please use a directory with no spaces")endif()+vcpkg_add_to_path(PREPEND "${CURRENT_HOST_INSTALLED_DIR}/manual-tools/ffmpeg-bin2c")+if (VCPKG_TARGET_ARCHITECTURE STREQUAL "x86" OR VCPKG_TARGET_ARCHITECTURE STREQUAL "x64")vcpkg_find_acquire_program(NASM)get_filename_component(NASM_EXE_PATH "${NASM}" DIRECTORY)vcpkg_add_to_path("${NASM_EXE_PATH}")endif()-set(OPTIONS "--enable-pic --disable-doc --enable-debug --enable-runtime-cpudetect --disable-autodetect")+set(OPTIONS "--enable-pic --disable-doc --enable-runtime-cpudetect --disable-autodetect")# Ladybird: suffix the libraries so a system FFmpeg can be loaded alongside them.set(FFMPEG_LIBRARY_SUFFIX "-ladybird")@@ -57,6 +60,12 @@ elseif(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "Android")string(APPEND OPTIONS " --target-os=android --enable-jni --enable-mediacodec")elseif(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "QNX")string(APPEND OPTIONS " --target-os=qnx")+elseif(VCPKG_TARGET_IS_OHOS)+ # OHOS kernel is Linux/musl; ffmpeg configure has no "ohos" target-os,+ # so without this it falls back to the host (e.g. darwin) and injects+ # host-specific LDFLAGS (-Wl,-dynamic,-search_paths_first) that lld rejects,+ # which also corrupts the memalign/posix_memalign link probes.+ string(APPEND OPTIONS " --target-os=linux --enable-pthreads")endif()if(VCPKG_TARGET_IS_OSX)@@ -67,7 +76,6 @@ endif()vcpkg_cmake_get_vars(cmake_vars_file)include("${cmake_vars_file}")if(VCPKG_DETECTED_MSVC)- string(APPEND OPTIONS " --disable-inline-asm") # clang-cl has inline assembly but this leads to undefined symbols.set(OPTIONS "--toolchain=msvc ${OPTIONS}")# This is required because ffmpeg depends upon optimizations to link correctlystring(APPEND VCPKG_COMBINED_C_FLAGS_DEBUG " -O2")@@ -88,7 +96,19 @@ if(VCPKG_DETECTED_CMAKE_C_COMPILER)get_filename_component(CC_filename "${VCPKG_DETECTED_CMAKE_C_COMPILER}" NAME)set(ENV{CC} "${CC_filename}")string(APPEND OPTIONS " --cc=${CC_filename}")- string(APPEND OPTIONS " --host_cc=${CC_filename}")++ # FFmpeg 9.0 builds a native helper for the unstable AArch64 swscale+ # backend. Using the target cl.exe as HOSTCC produces an ARM64 executable+ # that cannot run on the x64 build host. Disable only that unstable backend+ # for Windows ARM64; 0052 keeps the legacy swscale path linkable.+ if(VCPKG_HOST_IS_WINDOWS AND VCPKG_DETECTED_MSVC)+ if(VCPKG_TARGET_ARCHITECTURE STREQUAL "arm64")+ string(APPEND OPTIONS " --disable-unstable")+ else()+ string(APPEND OPTIONS " --host-cc=${CC_filename}")+ endif()+ endif()+list(APPEND prog_env "${CC_path}")endif()@@ -97,7 +117,6 @@ if(VCPKG_DETECTED_CMAKE_CXX_COMPILER)get_filename_component(CXX_filename "${VCPKG_DETECTED_CMAKE_CXX_COMPILER}" NAME)set(ENV{CXX} "${CXX_filename}")string(APPEND OPTIONS " --cxx=${CXX_filename}")- #string(APPEND OPTIONS " --host_cxx=${CC_filename}")list(APPEND prog_env "${CXX_path}")endif()@@ -109,12 +128,15 @@ if(VCPKG_DETECTED_CMAKE_RC_COMPILER)list(APPEND prog_env "${RC_path}")endif()-if(VCPKG_DETECTED_CMAKE_LINKER AND VCPKG_TARGET_IS_WINDOWS AND NOT VCPKG_TARGET_IS_MINGW)+# A GNU-frontend clang links through the compiler driver (the detected+# CMAKE_LINKER flags are driver-style, not lld-link-style), so leave+# configure's default LD=CC in place there.+if(VCPKG_DETECTED_CMAKE_LINKER AND VCPKG_TARGET_IS_WINDOWS AND NOT VCPKG_TARGET_IS_MINGW+ AND NOT VCPKG_DETECTED_CMAKE_C_COMPILER MATCHES "clang(-[0-9]+)?(\\.exe)?$")get_filename_component(LD_path "${VCPKG_DETECTED_CMAKE_LINKER}" DIRECTORY)get_filename_component(LD_filename "${VCPKG_DETECTED_CMAKE_LINKER}" NAME)set(ENV{LD} "${LD_filename}")string(APPEND OPTIONS " --ld=${LD_filename}")- #string(APPEND OPTIONS " --host_ld=${LD_filename}")list(APPEND prog_env "${LD_path}")endif()@@ -245,15 +267,6 @@ else()set(ENABLE_AVFILTER OFF)endif()-if("postproc" IN_LIST FEATURES)- set(OPTIONS "${OPTIONS} --enable-postproc")- set(ENABLE_POSTPROC ON)- list(APPEND FFMPEG_PKGCONFIG_MODULES libpostproc${FFMPEG_LIBRARY_SUFFIX})-else()- set(OPTIONS "${OPTIONS} --disable-postproc")- set(ENABLE_POSTPROC OFF)-endif()-if("swresample" IN_LIST FEATURES)set(OPTIONS "${OPTIONS} --enable-swresample")set(ENABLE_SWRESAMPLE ON)@@ -328,6 +341,14 @@ else()set(WITH_DAV1D OFF)endif()+if("svt-av1" IN_LIST FEATURES)+ set(OPTIONS "${OPTIONS} --enable-libsvtav1")+ set(WITH_SVTAV1 ON)+else()+ set(OPTIONS "${OPTIONS} --disable-libsvtav1")+ set(WITH_SVTAV1 OFF)+endif()+if("fdk-aac" IN_LIST FEATURES)set(OPTIONS "${OPTIONS} --enable-libfdk-aac")set(WITH_AAC ON)@@ -445,16 +466,16 @@ else()set(WITH_OPENMPT OFF)endif()+set(WITH_OPENSSL OFF)+set(WITH_SCHANNEL OFF)if("openssl" IN_LIST FEATURES)set(OPTIONS "${OPTIONS} --enable-openssl")+ set(WITH_OPENSSL ON)else()set(OPTIONS "${OPTIONS} --disable-openssl")if(VCPKG_TARGET_IS_WINDOWS AND NOT VCPKG_TARGET_IS_UWP)string(APPEND OPTIONS " --enable-schannel")- elseif(VCPKG_TARGET_IS_OSX)- string(APPEND OPTIONS " --enable-securetransport")- elseif(VCPKG_TARGET_IS_IOS)- string(APPEND OPTIONS " --enable-securetransport")+ set(WITH_SCHANNEL ON)endif()endif()@@ -504,11 +525,7 @@ else()set(WITH_SSH OFF)endif()-if("tensorflow" IN_LIST FEATURES)- set(OPTIONS "${OPTIONS} --enable-libtensorflow")-else()- set(OPTIONS "${OPTIONS} --disable-libtensorflow")-endif()+set(OPTIONS "${OPTIONS} --disable-libtensorflow")if("tesseract" IN_LIST FEATURES)set(OPTIONS "${OPTIONS} --enable-libtesseract")@@ -524,6 +541,14 @@ else()set(WITH_THEORA OFF)endif()+if("twolame" IN_LIST FEATURES)+ set(OPTIONS "${OPTIONS} --enable-libtwolame")+ set(WITH_TWOLAME ON)+else()+ set(OPTIONS "${OPTIONS} --disable-libtwolame")+ set(WITH_TWOLAME OFF)+endif()+if("vorbis" IN_LIST FEATURES)set(OPTIONS "${OPTIONS} --enable-libvorbis")set(WITH_VORBIS ON)@@ -542,6 +567,8 @@ endif()if("vulkan" IN_LIST FEATURES)set(OPTIONS "${OPTIONS} --enable-vulkan")+ # configure probes for a glslc executable to compile Vulkan shaders at build time+ vcpkg_add_to_path(PREPEND "${CURRENT_HOST_INSTALLED_DIR}/tools/shaderc")else()set(OPTIONS "${OPTIONS} --disable-vulkan")endif()@@ -593,11 +620,11 @@ else()endif()if ("qsv" IN_LIST FEATURES)- set(OPTIONS "${OPTIONS} --enable-libmfx --enable-encoder=h264_qsv --enable-decoder=h264_qsv")- set(WITH_MFX ON)+ set(OPTIONS "${OPTIONS} --enable-libvpl --enable-encoder=h264_qsv --enable-decoder=h264_qsv")+ set(WITH_VPL ON)else()- set(OPTIONS "${OPTIONS} --disable-libmfx")- set(WITH_MFX OFF)+ set(OPTIONS "${OPTIONS} --disable-libvpl")+ set(WITH_VPL OFF)endif()if ("vaapi" IN_LIST FEATURES)@@ -608,6 +635,22 @@ else()set(WITH_VAAPI OFF)endif()+if("zmq" IN_LIST FEATURES)+ set(OPTIONS "${OPTIONS} --enable-libzmq")+ set(WITH_ZMQ ON)+else()+ set(OPTIONS "${OPTIONS} --disable-libzmq")+ set(WITH_ZMQ OFF)+endif()++if("rubberband" IN_LIST FEATURES)+ set(OPTIONS "${OPTIONS} --enable-librubberband")+ set(WITH_RUBBERBAND ON)+else()+ set(OPTIONS "${OPTIONS} --disable-librubberband")+ set(WITH_RUBBERBAND OFF)+endif()+set(OPTIONS_CROSS "--enable-cross-compile")# ffmpeg needs --cross-prefix option to use appropriate tools for cross-compiling.@@ -634,8 +677,9 @@ endif()if(VCPKG_TARGET_IS_UWP)set(ENV{LIBPATH} "$ENV{LIBPATH};$ENV{_WKITS10}references\\windows.foundation.foundationcontract\\2.0.0.0\\;$ENV{_WKITS10}references\\windows.foundation.universalapicontract\\3.0.0.0\\")string(APPEND OPTIONS " --disable-programs")+ string(APPEND OPTIONS " --disable-filter=gfxcapture")string(APPEND OPTIONS " --extra-cflags=-DWINAPI_FAMILY=WINAPI_FAMILY_APP --extra-cflags=-D_WIN32_WINNT=0x0A00")- string(APPEND OPTIONS " --extra-ldflags=-APPCONTAINER --extra-ldflags=WindowsApp.lib")+ string(APPEND OPTIONS " --extra-ldflags=-APPCONTAINER --extra-ldflags=WindowsApp.lib --extra-ldflags=dxguid.lib")endif()if (VCPKG_TARGET_IS_IOS)@@ -697,9 +741,21 @@ if (VCPKG_TARGET_IS_IOS)set(OPTIONS "${OPTIONS} --extra-ldflags=-isysroot\"${vcpkg_osx_sysroot}\"")endif ()-set(OPTIONS_DEBUG "--disable-optimizations")+set(OPTIONS_DEBUG "--disable-optimizations --enable-debug")set(OPTIONS_RELEASE "--enable-optimizations")+if(VCPKG_DETECTED_MSVC)+ # Determine base linkage (MT or MD)+ set(FFMPEG_CRT_PREFIX "-MT")+ if(VCPKG_CRT_LINKAGE STREQUAL "dynamic")+ set(FFMPEG_CRT_PREFIX "-MD")+ endif()+ # Append Release flags+ string(APPEND OPTIONS_RELEASE " --extra-cflags=${FFMPEG_CRT_PREFIX} --extra-cxxflags=${FFMPEG_CRT_PREFIX}")+ # Append Debug flags (adding the 'd' suffix for the debug runtime)+ string(APPEND OPTIONS_DEBUG " --extra-cflags=${FFMPEG_CRT_PREFIX}d --extra-cxxflags=${FFMPEG_CRT_PREFIX}d")+endif()+set(OPTIONS "${OPTIONS} ${OPTIONS_CROSS}")if(VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")@@ -712,7 +768,12 @@ elseif(VCPKG_TARGET_IS_WINDOWS)set(OPTIONS "${OPTIONS} --extra-cflags=-DHAVE_UNISTD_H=0")endif()-set(maybe_needed_libraries -lm)+if(NOT VCPKG_TARGET_IS_WINDOWS)+ set(maybe_needed_libraries -lm)+else()+ set(maybe_needed_libraries "")+endif()+separate_arguments(standard_libraries NATIVE_COMMAND "${VCPKG_DETECTED_CMAKE_C_STANDARD_LIBRARIES}")foreach(item IN LISTS standard_libraries)if(item IN_LIST maybe_needed_libraries)@@ -829,15 +890,33 @@ if(VCPKG_TARGET_IS_WINDOWS)message(FATAL_ERROR "Unsupported target architecture")endif()+ # llvm-lib implements the lib.exe interface; use it when building on+ # a host without the MSVC tools+ if(CMAKE_HOST_WIN32)+ set(LIB_TOOL lib.exe)+ else()+ find_program(LIB_TOOL NAMES llvm-lib llvm-lib-22 llvm-lib-19 REQUIRED)+ endif()foreach(DEF_FILE ${DEF_FILES})get_filename_component(DEF_FILE_DIR "${DEF_FILE}" DIRECTORY)get_filename_component(DEF_FILE_NAME "${DEF_FILE}" NAME)string(REGEX REPLACE "-[0-9]*\\.def" "${VCPKG_TARGET_STATIC_LIBRARY_SUFFIX}" OUT_FILE_NAME "${DEF_FILE_NAME}")+ if(NOT CMAKE_HOST_WIN32)+ # ffmpeg's makedef emits no LIBRARY statement; lib.exe infers the+ # DLL name from the def filename but llvm-lib leaves it EMPTY,+ # producing import entries no Windows loader can resolve.+ get_filename_component(DEF_BASE_NAME "${DEF_FILE}" NAME_WE)+ file(READ "${DEF_FILE}" DEF_CONTENTS)+ if(NOT DEF_CONTENTS MATCHES "LIBRARY")+ file(WRITE "${CURRENT_BUILDTREES_DIR}/${DEF_FILE_NAME}" "LIBRARY ${DEF_BASE_NAME}\n${DEF_CONTENTS}")+ set(DEF_FILE "${CURRENT_BUILDTREES_DIR}/${DEF_FILE_NAME}")+ endif()+ endif()file(TO_NATIVE_PATH "${DEF_FILE}" DEF_FILE_NATIVE)file(TO_NATIVE_PATH "${DEF_FILE_DIR}/${OUT_FILE_NAME}" OUT_FILE_NATIVE)message(STATUS "Generating ${OUT_FILE_NATIVE}")vcpkg_execute_required_process(- COMMAND lib.exe "/def:${DEF_FILE_NATIVE}" "/out:${OUT_FILE_NATIVE}" ${LIB_MACHINE_ARG}+ COMMAND "${LIB_TOOL}" "/def:${DEF_FILE_NATIVE}" "/out:${OUT_FILE_NATIVE}" ${LIB_MACHINE_ARG}WORKING_DIRECTORY "${CURRENT_PACKAGES_DIR}"LOGNAME "libconvert-${TARGET_TRIPLET}")@@ -912,7 +991,6 @@ function(append_dependencies_from_libs out)list(FILTER contents EXCLUDE REGEX "^avdevice${FFMPEG_LIBRARY_SUFFIX}$")list(FILTER contents EXCLUDE REGEX "^avfilter${FFMPEG_LIBRARY_SUFFIX}$")list(FILTER contents EXCLUDE REGEX "^avformat${FFMPEG_LIBRARY_SUFFIX}$")- list(FILTER contents EXCLUDE REGEX "^postproc${FFMPEG_LIBRARY_SUFFIX}$")list(FILTER contents EXCLUDE REGEX "^swresample${FFMPEG_LIBRARY_SUFFIX}$")list(FILTER contents EXCLUDE REGEX "^swscale${FFMPEG_LIBRARY_SUFFIX}$")if(VCPKG_TARGET_IS_WINDOWS)@@ -1034,4 +1112,8 @@ you may need to add the following link option for your library:")endif()-vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/${LICENSE_FILE}")+vcpkg_install_copyright(+ FILE_LIST+ "${SOURCE_PATH}/${LICENSE_FILE}"+ "${SOURCE_PATH}/LICENSE.md"+)diff --git a/Meta/CMake/vcpkg/overlay-ports/ffmpeg/vcpkg-cmake-wrapper.cmake b/Meta/CMake/vcpkg/overlay-ports/ffmpeg/vcpkg-cmake-wrapper.cmakeindex 01323d888fb..0c43dffdce1 100644--- a/Meta/CMake/vcpkg/overlay-ports/ffmpeg/vcpkg-cmake-wrapper.cmake+++ b/Meta/CMake/vcpkg/overlay-ports/ffmpeg/vcpkg-cmake-wrapper.cmake@@ -27,15 +27,35 @@ endif()_find_package(${ARGS})# Fixup of variables and targets for (some) vendored find modules-if(NOT z_vcpkg_using_vcpkg_find_ffmpeg)+if(NOT z_vcpkg_using_vcpkg_find_ffmpeg AND NOT "@BUILD_SHARED_LIBS@")include(SelectLibraryConfigurations)if(CMAKE_HOST_WIN32)set(PKG_CONFIG_EXECUTABLE "${CMAKE_CURRENT_LIST_DIR}/../../../@_HOST_TRIPLET@/tools/pkgconf/pkgconf.exe" CACHE STRING "" FORCE)endif()-set(PKG_CONFIG_USE_CMAKE_PREFIX_PATH ON) # Required for CMAKE_MINIMUM_REQUIRED_VERSION VERSION_LESS 3.1 which otherwise ignores CMAKE_PREFIX_PATH+find_package(PkgConfig)++pkg_check_modules(PKG_libavcodec libavcodec@FFMPEG_LIBRARY_SUFFIX@)+if(APPLE)+ list(FILTER PKG_libavcodec_LIBRARIES INCLUDE REGEX "^-framework ")+ if(PKG_libavcodec_LIBRARIES)+ list(APPEND FFMPEG_LIBRARIES ${PKG_libavcodec_LIBRARIES})+ if(vcpkg_no_avcodec_target AND TARGET FFmpeg::avcodec)+ target_link_libraries(FFmpeg::avcodec INTERFACE ${PKG_libavcodec_LIBRARIES})+ endif()+ endif()+elseif(WIN32)+ foreach(z_libavcodec_link_lib IN ITEMS bcrypt crypt32 mfuuid psapi secur32 shlwapi strmiids vfw32 ws2_32 usp10 cfgmgr32 rpcrt4)+ if("-l${z_libavcodec_link_lib}" IN_LIST PKG_libavcodec_LDFLAGS)+ list(APPEND FFMPEG_LIBRARIES "${z_libavcodec_link_lib}")+ if(vcpkg_no_avcodec_target AND TARGET FFmpeg::avcodec)+ target_link_libraries(FFmpeg::avcodec INTERFACE "$<LINK_ONLY:${z_libavcodec_link_lib}>")+ endif()+ endif()+ endforeach()+endif()if(@WITH_MP3LAME@)find_package(mp3lame CONFIG )@@ -93,7 +113,6 @@ if(@WITH_OPENMPT@)endif()if(@WITH_MODPLUG@)- find_package(PkgConfig )pkg_check_modules(modplug IMPORTED_TARGET libmodplug)list(APPEND FFMPEG_LIBRARIES PkgConfig::modplug)if(vcpkg_no_avformat_target AND TARGET FFmpeg::avformat)@@ -102,7 +121,6 @@ if(@WITH_MODPLUG@)endif()if(@WITH_SRT@)- find_package(PkgConfig )pkg_check_modules(srt IMPORTED_TARGET srt)list(APPEND FFMPEG_LIBRARIES PkgConfig::srt)if(vcpkg_no_avformat_target AND TARGET FFmpeg::avformat)@@ -111,7 +129,6 @@ if(@WITH_SRT@)endif()if(@WITH_DAV1D@)- find_package(PkgConfig )pkg_check_modules(dav1d IMPORTED_TARGET dav1d)list(APPEND FFMPEG_LIBRARIES PkgConfig::dav1d)if(vcpkg_no_avcodec_target AND TARGET FFmpeg::avcodec)@@ -119,8 +136,15 @@ if(@WITH_DAV1D@)endif()endif()+if(@WITH_SVTAV1@)+ pkg_check_modules(svtav1 IMPORTED_TARGET SvtAv1Enc)+ list(APPEND FFMPEG_LIBRARIES PkgConfig::svtav1)+ if(vcpkg_no_avcodec_target AND TARGET FFmpeg::avcodec)+ target_link_libraries(FFmpeg::avcodec INTERFACE PkgConfig::svtav1)+ endif()+endif()+if(@WITH_OPENH264@)- find_package(PkgConfig )pkg_check_modules(openh264 IMPORTED_TARGET openh264)list(APPEND FFMPEG_LIBRARIES PkgConfig::openh264)if(vcpkg_no_avcodec_target AND TARGET FFmpeg::avcodec)@@ -155,7 +179,6 @@ if(@WITH_SOXR@)endif()if(@WITH_THEORA@)- find_package(PkgConfig )pkg_check_modules(theora IMPORTED_TARGET theora)list(APPEND FFMPEG_LIBRARIES PkgConfig::theora)if(vcpkg_no_avcodec_target AND TARGET FFmpeg::avcodec)@@ -163,20 +186,18 @@ if(@WITH_THEORA@)endif()endif()-if(@WITH_MFX@)- find_package(PkgConfig )- pkg_check_modules(libmfx IMPORTED_TARGET libmfx)- list(APPEND FFMPEG_LIBRARIES PkgConfig::libmfx)+if(@WITH_VPL@)+ pkg_check_modules(libvpl IMPORTED_TARGET vpl)+ list(APPEND FFMPEG_LIBRARIES PkgConfig::libvpl)if(vcpkg_no_avcodec_target AND TARGET FFmpeg::avcodec)- target_link_libraries(FFmpeg::avcodec INTERFACE PkgConfig::libmfx)+ target_link_libraries(FFmpeg::avcodec INTERFACE PkgConfig::libvpl)endif()if(vcpkg_no_avutil_target AND TARGET FFmpeg::avutil)- target_link_libraries(FFmpeg::avutil INTERFACE PkgConfig::libmfx)+ target_link_libraries(FFmpeg::avutil INTERFACE PkgConfig::libvpl)endif()endif()if(@WITH_ILBC@)- find_package(PkgConfig )pkg_check_modules(libilbc IMPORTED_TARGET libilbc)list(APPEND FFMPEG_LIBRARIES PkgConfig::libilbc)if(vcpkg_no_avcodec_target AND TARGET FFmpeg::avcodec)@@ -185,7 +206,6 @@ if(@WITH_ILBC@)endif()if(@WITH_THEORA@)- find_package(PkgConfig )pkg_check_modules(theora IMPORTED_TARGET theora)list(APPEND FFMPEG_LIBRARIES PkgConfig::theora)if(vcpkg_no_avcodec_target AND TARGET FFmpeg::avcodec)@@ -202,7 +222,6 @@ if(@WITH_VORBIS@)endif()if(@WITH_VPX@)- find_package(PkgConfig )pkg_check_modules(vpx IMPORTED_TARGET vpx)list(APPEND FFMPEG_LIBRARIES PkgConfig::vpx)if(vcpkg_no_avcodec_target AND TARGET FFmpeg::avcodec)@@ -219,7 +238,6 @@ if(@WITH_OPUS@)endif()if(@WITH_SPEEX@)- find_package(PkgConfig )pkg_check_modules(speex IMPORTED_TARGET speex)list(APPEND FFMPEG_LIBRARIES PkgConfig::speex)if(vcpkg_no_avcodec_target AND TARGET FFmpeg::avcodec)@@ -244,7 +262,6 @@ if(@WITH_SNAPPY@)endif()if(@WITH_AOM@)- find_package(PkgConfig )pkg_check_modules(aom IMPORTED_TARGET aom)list(APPEND FFMPEG_LIBRARIES PkgConfig::aom)if(vcpkg_no_avcodec_target AND TARGET FFmpeg::avcodec)@@ -253,7 +270,6 @@ if(@WITH_AOM@)endif()if(@WITH_X264@)- find_package(PkgConfig )pkg_check_modules(x264 IMPORTED_TARGET x264)list(APPEND FFMPEG_LIBRARIES PkgConfig::x264)if(vcpkg_no_avcodec_target AND TARGET FFmpeg::avcodec)@@ -262,7 +278,6 @@ if(@WITH_X264@)endif()if(@WITH_X265@)- find_package(PkgConfig )pkg_check_modules(x265 IMPORTED_TARGET x265)list(APPEND FFMPEG_LIBRARIES PkgConfig::x265)if(vcpkg_no_avcodec_target AND TARGET FFmpeg::avcodec)@@ -290,7 +305,6 @@ if(@WITH_OPENCL@)endif()if(@WITH_VAAPI@)- find_package(PkgConfig )pkg_check_modules(libva IMPORTED_TARGET libva)pkg_check_modules(libva-drm IMPORTED_TARGET libva-drm)list(APPEND FFMPEG_LIBRARIES PkgConfig::libva PkgConfig::libva-drm)@@ -299,7 +313,36 @@ if(@WITH_VAAPI@)endif()endif()-endif(NOT z_vcpkg_using_vcpkg_find_ffmpeg)+if(@WITH_ZMQ@)+ pkg_check_modules(libzmq IMPORTED_TARGET libzmq)+ list(APPEND FFMPEG_LIBRARIES PkgConfig::libzmq)+ if(vcpkg_no_avformat_target AND TARGET FFmpeg::avformat)+ target_link_libraries(FFmpeg::avformat INTERFACE PkgConfig::libzmq)+ endif()+endif()++if(@WITH_RUBBERBAND@)+ pkg_check_modules(rubberband IMPORTED_TARGET rubberband)+ list(APPEND FFMPEG_LIBRARIES PkgConfig::rubberband)+ if(vcpkg_no_avfilter_target AND TARGET FFmpeg::avfilter)+ target_link_libraries(FFmpeg::avfilter INTERFACE PkgConfig::rubberband)+ endif()+endif()++if(@WITH_OPENSSL@)+ find_package(OpenSSL REQUIRED)+ list(APPEND FFMPEG_LIBRARIES $<LINK_ONLY:OpenSSL::SSL>)+ if(vcpkg_no_avformat_target AND TARGET FFmpeg::avformat)+ target_link_libraries(FFmpeg::avformat INTERFACE $<LINK_ONLY:OpenSSL::SSL>)+ endif()+elseif(@WITH_SCHANNEL@)+ list(APPEND FFMPEG_LIBRARIES secur32 ncrypt crypt32)+ if(vcpkg_no_avformat_target AND TARGET FFmpeg::avformat)+ target_link_libraries(FFmpeg::avformat INTERFACE secur32 ncrypt crypt32)+ endif()+endif()++endif()unset(z_vcpkg_using_vcpkg_find_ffmpeg)set(FFMPEG_LIBRARY ${FFMPEG_LIBRARIES})diff --git a/Meta/CMake/vcpkg/overlay-ports/ffmpeg/vcpkg.json b/Meta/CMake/vcpkg/overlay-ports/ffmpeg/vcpkg.jsonindex 0c198a01596..c01ceba2cc7 100644--- a/Meta/CMake/vcpkg/overlay-ports/ffmpeg/vcpkg.json+++ b/Meta/CMake/vcpkg/overlay-ports/ffmpeg/vcpkg.json@@ -1,7 +1,7 @@{"name": "ffmpeg",- "version": "7.1.1",- "port-version": 5,+ "version": "9.0.2",+ "port-version": 1,"description": ["A library to decode, encode, transcode, mux, demux, stream, filter and play pretty much anything that humans and machines have created.","FFmpeg is the leading multimedia framework, able to decode, encode, transcode, mux, demux, stream, filter and play pretty much anything that humans and machines have created. It supports the most obscure ancient formats up to the cutting edge. No matter if they were designed by some standards committee, the community or a corporation. It is also highly portable: FFmpeg compiles, runs, and passes our testing infrastructure FATE across Linux, Mac OS X, Microsoft Windows, the BSDs, Solaris, etc. under a wide variety of build environments, machine architectures, and configurations."@@ -9,6 +9,10 @@"homepage": "https://ffmpeg.org","license": null,"dependencies": [+ {+ "name": "ffmpeg-bin2c",+ "host": true+ },{"name": "vcpkg-cmake-get-vars","host": true@@ -60,6 +64,7 @@"swresample","swscale","theora",+ "twolame","vorbis","vpx","vulkan",@@ -160,17 +165,17 @@"name": "ffmpeg","default-features": false,"features": [- "opengl"+ "svt-av1"],- "platform": "!uwp & !(arm64 & windows)"+ "platform": "!x86 & !arm32 & !uwp"},{"name": "ffmpeg","default-features": false,"features": [- "tensorflow"+ "opengl"],- "platform": "x64 & !static & !uwp & !windows"+ "platform": "!uwp & !(arm64 & windows)"},{"name": "ffmpeg",@@ -194,7 +199,7 @@"features": ["qsv"],- "platform": "linux | (!osx & !uwp & !(arm & windows))"+ "platform": "(x64 | x86) & (windows | linux) & !uwp"},{"name": "ffmpeg",@@ -214,8 +219,7 @@"default-features": false,"features": ["all",- "gpl",- "postproc"+ "gpl"]},{@@ -280,7 +284,11 @@"ass": {"description": "Libass subtitles rendering, needed for subtitles and ass filter support in ffmpeg","dependencies": [- "libass"+ "libass",+ {+ "name": "libiconv",+ "platform": "windows & static"+ }]},"avcodec": {@@ -545,7 +553,7 @@]},"openssl": {- "description": "Needed for https support if gnutls, libtls or mbedtls is not used",+ "description": "Use OpenSSL for TLS support","dependencies": [{"name": "ffmpeg",@@ -563,8 +571,14 @@"opus"]},- "postproc": {- "description": "Build the postproc library",+ "qsv": {+ "description": "Intel QSV Codec via oneVPL",+ "dependencies": [+ "libvpl"+ ]+ },+ "rubberband": {+ "description": "Enable rubberband support","dependencies": [{"name": "ffmpeg",@@ -572,13 +586,8 @@"features": ["gpl"]- }- ]- },- "qsv": {- "description": "Intel QSV Codec",- "dependencies": [- "mfx-dispatch"+ },+ "rubberband"]},"sdl2": {@@ -636,19 +645,19 @@"libssh"]},+ "svt-av1": {+ "description": "AV1 encoding via libSvtAv1Enc",+ "supports": "!x86 & !arm32 & !uwp",+ "dependencies": [+ "svt-av1"+ ]+ },"swresample": {"description": "Build the swresample library"},"swscale": {"description": "Build the swscale library"},- "tensorflow": {- "description": "TensorFlow as a DNN module backend for DNN based filters like sr",- "supports": "!static",- "dependencies": [- "tensorflow"- ]- },"tesseract": {"description": "Tesseract, needed for ocr filter","supports": "!static",@@ -662,6 +671,12 @@"libtheora"]},+ "twolame": {+ "description": "MP2 encoding via libtwolame",+ "dependencies": [+ "libtwolame"+ ]+ },"vaapi": {"description": "VAAPI video decoding/encoding acceleration","supports": "linux",@@ -696,8 +711,13 @@]},"vulkan": {- "description": "H.264, HEVC and AV1 de/encoding via Vulkan",+ "description": "Vulkan video de/encoding (H.264, HEVC, AV1), Vulkan encoding (FFV1, ProRes), and Vulkan filters","dependencies": [+ {+ "name": "shaderc",+ "host": true+ },+ "spirv-headers","vulkan-headers"]},@@ -744,6 +764,12 @@"dependencies": ["zlib"]+ },+ "zmq": {+ "description": "Enable ZeroMQ support",+ "dependencies": [+ "zeromq"+ ]}}}diff --git a/vcpkg.json b/vcpkg.jsonindex eca3312f13e..96b9de76805 100644--- a/vcpkg.json+++ b/vcpkg.json@@ -281,7 +281,7 @@},{"name": "ffmpeg",- "version": "7.1.1#5"+ "version": "9.0.2#1"},{"name": "fmt",