rust-rustdesk/res/vcpkg/ffmpeg/patch
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
..
0001-avcodec-amfenc-add-query_timeout-option-for-h264-hev.patch update vcpkg to 2024.11.16 (#10272) 2024-12-13 13:28:48 +08:00
0002-libavcodec-amfenc-reconfig-when-bitrate-change.patch update vcpkg to 2024.11.16 (#10272) 2024-12-13 13:28:48 +08:00
0004-videotoolbox-changing-bitrate.patch fix ffmpeg videotoolbox wrong log (#10413) 2025-01-02 22:19:30 +08:00
0005-mediacodec-changing-bitrate.patch update vcpkg to 2024.11.16 (#10272) 2024-12-13 13:28:48 +08:00
0006-dlopen-libva.patch update vcpkg to 2024.11.16 (#10272) 2024-12-13 13:28:48 +08:00
0007-fix-linux-configure.patch update vcpkg to 2024.11.16 (#10272) 2024-12-13 13:28:48 +08:00
0008-remove-amf-loop-query.patch try fix FFmpeg amf encode hang (#10283) 2024-12-16 19:40:48 +08:00
0009-fix-nvenc-reconfigure-blur.patch Fix image blur occurring at the moment of changing quality (#10399) 2024-12-30 11:51:36 +08:00
0010.disable-loading-DLLs-from-app-dir.patch fix: windows, dll, pre-loading attack (#10608) 2025-01-26 19:39:38 +08:00
0011-android-mediacodec-encode-align-64.patch android mediacodec encode align 64 (#12852) 2025-09-06 12:09:21 +08:00
0012-fix-macos-big-sur-CVBufferCopyAttachments.patch Fix macos bigsur cvbuffer crash (#13392) 2025-11-02 22:08:03 +08:00