mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-20 08:43:20 +03:00
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
This commit is contained in:
@@ -27,6 +27,7 @@ vcpkg_from_github(
|
||||
patch/0009-fix-nvenc-reconfigure-blur.patch
|
||||
patch/0010.disable-loading-DLLs-from-app-dir.patch
|
||||
patch/0011-android-mediacodec-encode-align-64.patch
|
||||
patch/0012-fix-macos-big-sur-CVBufferCopyAttachments.patch
|
||||
)
|
||||
|
||||
if(SOURCE_PATH MATCHES " ")
|
||||
|
||||
Reference in New Issue
Block a user