PR #20616 opened by mkver
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20616
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20616.patch

Will apply this soon.


>From 096958b6a0851477a26c8ba08cb9696e68088822 Mon Sep 17 00:00:00 2001
From: Andreas Rheinhardt <[email protected]>
Date: Fri, 26 Sep 2025 16:17:45 +0200
Subject: [PATCH] avcodec/x86/qpeldsp_init: Fix compilation without external
 assembly

Broken in 2cf9e733c6a666600423a0967f23341d9f09e3c8.

Signed-off-by: Andreas Rheinhardt <[email protected]>
---
 libavcodec/x86/qpeldsp_init.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavcodec/x86/qpeldsp_init.c b/libavcodec/x86/qpeldsp_init.c
index 097cda0106..2448adde88 100644
--- a/libavcodec/x86/qpeldsp_init.c
+++ b/libavcodec/x86/qpeldsp_init.c
@@ -537,9 +537,11 @@ av_cold void ff_qpeldsp_init_x86(QpelDSPContext *c)
         SET_QPEL_FUNCS(put_no_rnd_qpel, 1,  8, mmxext, );
 #endif /* HAVE_MMXEXT_EXTERNAL */
     }
+#if HAVE_SSE2_EXTERNAL
     if (EXTERNAL_SSE2(cpu_flags)) {
         c->put_no_rnd_qpel_pixels_tab[0][0] =
         c->put_qpel_pixels_tab[0][0] = put_qpel16_mc00_sse2;
         c->avg_qpel_pixels_tab[0][0] = avg_qpel16_mc00_sse2;
     }
+#endif
 }
-- 
2.49.1

_______________________________________________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to