Actual patch from 

https://github.com/Vargol/ffmpeg-apple-arm64-build

Found via

https://bitbucket.org/multicoreware/x265_git/issues/563/patch-neon-arm64-improvements



---------- Forwarded message ---------
От: Andrew Randrianasulu <randrianasulu@gmail.com>
Date: сб, 23 июл. 2022 г., 22:40
Subject: X265 aarch64 patch
To: <cin-request@lists.cinelerra-gg.org>


Can you check attached patch on aarch64?

Without it static  build of x265 fails on my new aarch64 termux ..

Put in thirdparty/src

I also trying to make libvpx/libaom update, but while libvpx 1.12 can be put as is with patch files simply renamed libaom 3.4.0 need some manual work ..

Also, ffmpeg 5.1 is out !