[packages/ffmpeg] - atadenoise patch: fix undefined ff_atadenoise_init_x86

arekm arekm at pld-linux.org
Mon Sep 21 23:03:55 CEST 2026


commit 7992d3e8e0d4cb97b5eab0484956cb9f403469ac
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Sep 21 23:00:43 2026 +0200

    - atadenoise patch: fix undefined ff_atadenoise_init_x86

 ffmpeg-atadenoise.patch | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)
---
diff --git a/ffmpeg-atadenoise.patch b/ffmpeg-atadenoise.patch
index be545f6..3a00ce4 100644
--- a/ffmpeg-atadenoise.patch
+++ b/ffmpeg-atadenoise.patch
@@ -1,13 +1,19 @@
---- ffmpeg-8.1.1/libavfilter/x86/Makefile.orig	2026-06-12 18:41:48.182355011 +0200
-+++ ffmpeg-8.1.1/libavfilter/x86/Makefile	2026-06-12 18:41:48.187637726 +0200
-@@ -5,8 +5,10 @@
+vf_atadenoise.asm is entirely inside %if ARCH_X86_64, so on 32-bit x86 it yields an
+empty object that breaks stripping; build only the asm part for x86_64. The C init
+file has its own ARCH_X86_64 guard and is called on every x86, so it must stay.
 
+--- ffmpeg-9.0.2/libavfilter/x86/Makefile.orig
++++ ffmpeg-9.0.2/libavfilter/x86/Makefile
+@@ -9,8 +9,10 @@
+ 
  X86ASM-OBJS-$(CONFIG_AFIR_FILTER)            += x86/af_afir.o x86/af_afir_init.o
  X86ASM-OBJS-$(CONFIG_ANLMDN_FILTER)          += x86/af_anlmdn.o x86/af_anlmdn_init.o
+-X86ASM-OBJS-$(CONFIG_ATADENOISE_FILTER)      += x86/vf_atadenoise.o           \
+-                                                x86/vf_atadenoise_init.o
 +ifdef ARCH_X86_64
- X86ASM-OBJS-$(CONFIG_ATADENOISE_FILTER)      += x86/vf_atadenoise.o           \
-                                                 x86/vf_atadenoise_init.o
++X86ASM-OBJS-$(CONFIG_ATADENOISE_FILTER)      += x86/vf_atadenoise.o
 +endif
++X86ASM-OBJS-$(CONFIG_ATADENOISE_FILTER)      += x86/vf_atadenoise_init.o
  X86ASM-OBJS-$(CONFIG_BLACKDETECT_FILTER)     += x86/vf_blackdetect.o          \
                                                  x86/vf_blackdetect_init.o
  X86ASM-OBJS-$(CONFIG_BLEND_FILTER)           += x86/vf_blend.o x86/vf_blend_init.o
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ffmpeg.git/commitdiff/7992d3e8e0d4cb97b5eab0484956cb9f403469ac



More information about the pld-cvs-commit mailing list