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:
parent
ca22316e95
commit
d03a9e2baf
3 changed files with 62 additions and 1 deletions
|
|
@ -1 +1 @@
|
|||
Subproject commit d6dd7ae052ac62f0f1538f1e056bce9429e28e33
|
||||
Subproject commit b55451eeca27a2d65406dff71c925622c7b0f414
|
||||
Loading…
Add table
Add a link
Reference in a new issue