Skip to content

Commit

Permalink
vpx: disable neon for iOS
Browse files Browse the repository at this point in the history
This patch fixes a crash when using NEON on devices with A11
and earlier, as they do not support NEON dot-product instructions.

https://git.jami.net/savoirfairelinux/jami-client-ios/-/issues/411
Change-Id: Ia107a04145bb4eb2c9fd6f7e977cb0742f0fab1e
  • Loading branch information
katekm committed Oct 16, 2024
1 parent 9dcca33 commit 4d0bf1f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion contrib/src/vpx/rules.mak
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,9 @@ VPX_CONF := \
--disable-webm-io

ifdef HAVE_IOS
VPX_CONF += --disable-runtime-cpu-detect
VPX_CONF += \
--disable-runtime-cpu-detect \
--disable-neon # Disable NEON to prevent crashes on iOS devices A11 and prior
endif

ifndef HAVE_WIN32
Expand Down

0 comments on commit 4d0bf1f

Please sign in to comment.