From eb7ab3928f6a82030cd030fda55579cdee252159 Mon Sep 17 00:00:00 2001 From: Hubert Mazur Date: Wed, 29 Jun 2022 10:24:39 +0200 Subject: [PATCH] lavc/aarch64: Hook up the existing ff_pix_abs16_neon to the sad[0] function pointer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Hubert Mazur Signed-off-by: Martin Storsjö --- libavcodec/aarch64/me_cmp_init_aarch64.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/aarch64/me_cmp_init_aarch64.c b/libavcodec/aarch64/me_cmp_init_aarch64.c index 9fb63e9973..bec9148a1a 100644 --- a/libavcodec/aarch64/me_cmp_init_aarch64.c +++ b/libavcodec/aarch64/me_cmp_init_aarch64.c @@ -35,5 +35,7 @@ av_cold void ff_me_cmp_init_aarch64(MECmpContext *c, AVCodecContext *avctx) if (have_neon(cpu_flags)) { c->pix_abs[0][0] = ff_pix_abs16_neon; c->pix_abs[0][3] = ff_pix_abs16_xy2_neon; + + c->sad[0] = ff_pix_abs16_neon; } }