rust-rustdesk/res/vcpkg/ffmpeg
RustDesk d03a9e2baf
Fix macos bigsur cvbuffer crash (#13392)
* Fix macOS Big Sur crash with CVBufferCopyAttachments

Add FFmpeg patch to use weak_import for CVBufferCopyAttachments API
to prevent dyld crash on macOS Big Sur (11.x).

The CVBufferCopyAttachments function is only available on macOS 12+.
Even though FFmpeg has a runtime check with __builtin_available, the
symbol is still resolved at load time, causing immediate crash on older
macOS versions.

With weak_import attribute, the function pointer will be NULL on
macOS < 12, allowing the code to safely fall back to the deprecated
CVBufferGetAttachments API.

Fixes: #13377

* update common
2025-11-02 22:08:03 +08:00
..
patch Fix macos bigsur cvbuffer crash (#13392) 2025-11-02 22:08:03 +08:00
0001-create-lib-libraries.patch update vcpkg to 2024.11.16 (#10272) 2024-12-13 13:28:48 +08:00
0002-fix-msvc-link.patch vcpkg deps (#8764) 2024-07-23 23:31:36 +08:00
0003-fix-windowsinclude.patch vcpkg deps (#8764) 2024-07-23 23:31:36 +08:00
0004-dependencies.patch update vcpkg to 2024.11.16 (#10272) 2024-12-13 13:28:48 +08:00
0005-fix-nasm.patch update vcpkg to 2024.11.16 (#10272) 2024-12-13 13:28:48 +08:00
0007-fix-lib-naming.patch update vcpkg to 2024.11.16 (#10272) 2024-12-13 13:28:48 +08:00
0013-define-WINVER.patch vcpkg deps (#8764) 2024-07-23 23:31:36 +08:00
0020-fix-aarch64-libswscale.patch update vcpkg to 2024.11.16 (#10272) 2024-12-13 13:28:48 +08:00
0024-fix-osx-host-c11.patch update vcpkg to 2024.11.16 (#10272) 2024-12-13 13:28:48 +08:00
0040-ffmpeg-add-av_stream_get_first_dts-for-chromium.patch update vcpkg to 2024.11.16 (#10272) 2024-12-13 13:28:48 +08:00
0041-add-const-for-opengl-definition.patch update vcpkg to 2024.11.16 (#10272) 2024-12-13 13:28:48 +08:00
0042-fix-arm64-linux.patch update vcpkg to 2024.11.16 (#10272) 2024-12-13 13:28:48 +08:00
0043-fix-miss-head.patch update vcpkg to 2024.11.16 (#10272) 2024-12-13 13:28:48 +08:00
build.sh.in vcpkg deps (#8764) 2024-07-23 23:31:36 +08:00
portfile.cmake Fix macos bigsur cvbuffer crash (#13392) 2025-11-02 22:08:03 +08:00
vcpkg-cmake-wrapper.cmake vcpkg deps (#8764) 2024-07-23 23:31:36 +08:00
vcpkg.json update vcpkg to 2024.11.16 (#10272) 2024-12-13 13:28:48 +08:00