[FFmpeg-devel,1/2] configure: select missing rdft for several filters

Submitted by Lou Logan on Nov. 6, 2019, 7:52 p.m.

Details

Message ID 20191106195244.79194-1-lou@lrcd.com
State Accepted
Commit 5896411437505bccb4d3581f41e058c42f596254
Headers show

Commit Message

Lou Logan Nov. 6, 2019, 7:52 p.m.
afir, sinc, superequalizer, surround

Signed-off-by: Lou Logan <lou@lrcd.com>
---
For afir fft is replaced with rdft as:
rdft_select="fft"

Fixes:

afir
/usr/bin/ld: libavfilter/libavfilter.a(af_afir.o): in function `fir_quantum':
af_afir.c:(.text+0x573): undefined reference to `av_rdft_calc'
/usr/bin/ld: af_afir.c:(.text+0x7cd): undefined reference to `av_rdft_calc'
/usr/bin/ld: libavfilter/libavfilter.a(af_afir.o): in function `init_segment':
af_afir.c:(.text+0x1b6e): undefined reference to `av_rdft_init'
/usr/bin/ld: af_afir.c:(.text+0x1baa): undefined reference to `av_rdft_init'
/usr/bin/ld: libavfilter/libavfilter.a(af_afir.o): in function `convert_coeffs':
af_afir.c:(.text+0x2652): undefined reference to `av_rdft_calc'
/usr/bin/ld: libavfilter/libavfilter.a(af_afir.o): in function `uninit_segment':
af_afir.c:(.text+0x31f2): undefined reference to `av_rdft_end'
/usr/bin/ld: af_afir.c:(.text+0x3248): undefined reference to `av_rdft_end'

sinc
/usr/bin/ld: libavfilter/libavfilter.a(asrc_sinc.o): in function `fir_to_phase':
asrc_sinc.c:(.text+0xd88): undefined reference to `av_rdft_end'
/usr/bin/ld: asrc_sinc.c:(.text+0xd98): undefined reference to `av_rdft_end'
/usr/bin/ld: asrc_sinc.c:(.text+0xdd5): undefined reference to `av_rdft_init'
/usr/bin/ld: asrc_sinc.c:(.text+0xdfe): undefined reference to `av_rdft_init'
/usr/bin/ld: asrc_sinc.c:(.text+0xe59): undefined reference to `av_rdft_calc'
/usr/bin/ld: asrc_sinc.c:(.text+0x115d): undefined reference to `av_rdft_calc'
/usr/bin/ld: asrc_sinc.c:(.text+0x124c): undefined reference to `av_rdft_calc'
/usr/bin/ld: asrc_sinc.c:(.text+0x1447): undefined reference to `av_rdft_calc'
/usr/bin/ld: libavfilter/libavfilter.a(asrc_sinc.o): in function `config_output':
asrc_sinc.c:(.text+0x1d6f): undefined reference to `av_rdft_end'
/usr/bin/ld: asrc_sinc.c:(.text+0x1d7f): undefined reference to `av_rdft_end'
/usr/bin/ld: libavfilter/libavfilter.a(asrc_sinc.o): in function `uninit':
asrc_sinc.c:(.text+0x1dee): undefined reference to `av_rdft_end'
/usr/bin/ld: asrc_sinc.c:(.text+0x1dfe): undefined reference to `av_rdft_end'

superequalizer
/usr/bin/ld: libavfilter/libavfilter.a(af_superequalizer.o): in function `equ_init':
af_superequalizer.c:(.text+0x574): undefined reference to `av_rdft_init'
/usr/bin/ld: af_superequalizer.c:(.text+0x58e): undefined reference to `av_rdft_init'
/usr/bin/ld: libavfilter/libavfilter.a(af_superequalizer.o): in function `make_fir':
af_superequalizer.c:(.text+0x86b): undefined reference to `av_rdft_calc'
/usr/bin/ld: libavfilter/libavfilter.a(af_superequalizer.o): in function `filter_frame':
af_superequalizer.c:(.text+0xa51): undefined reference to `av_rdft_calc'
/usr/bin/ld: af_superequalizer.c:(.text+0xc1f): undefined reference to `av_rdft_calc'
/usr/bin/ld: libavfilter/libavfilter.a(af_superequalizer.o): in function `uninit':
af_superequalizer.c:(.text+0x1134): undefined reference to `av_rdft_end'
/usr/bin/ld: af_superequalizer.c:(.text+0x1147): undefined reference to `av_rdft_end'
superequalizer_filter_select="rdft"

surround
/usr/bin/ld: libavfilter/libavfilter.a(af_surround.o): in function `config_input':
af_surround.c:(.text+0x1825): undefined reference to `av_rdft_init'
/usr/bin/ld: libavfilter/libavfilter.a(af_surround.o): in function `config_output':
af_surround.c:(.text+0x1e73): undefined reference to `av_rdft_init'
/usr/bin/ld: libavfilter/libavfilter.a(af_surround.o): in function `fft_channel':
af_surround.c:(.text+0xaae2): undefined reference to `av_rdft_calc'
/usr/bin/ld: libavfilter/libavfilter.a(af_surround.o): in function `ifft_channel':
af_surround.c:(.text+0xab79): undefined reference to `av_rdft_calc'
/usr/bin/ld: libavfilter/libavfilter.a(af_surround.o): in function `uninit':
af_surround.c:(.text+0xb301): undefined reference to `av_rdft_end'
/usr/bin/ld: af_surround.c:(.text+0xb340): undefined reference to `av_rdft_end'

---
 configure | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Comments

Carl Eugen Hoyos Nov. 7, 2019, 12:37 a.m.
Am Mi., 6. Nov. 2019 um 20:52 Uhr schrieb Lou Logan <lou@lrcd.com>:
>
> afir, sinc, superequalizer, surround
>
> Signed-off-by: Lou Logan <lou@lrcd.com>

You could add the additional information to the commit messages...

Carl Eugen
Lou Logan Nov. 7, 2019, 12:44 a.m.
On Wed, Nov 6, 2019, at 3:37 PM, Carl Eugen Hoyos wrote:
>
> You could add the additional information to the commit messages...

Fixed locally.

Patch hide | download patch | download mbox

diff --git a/configure b/configure
index f0be66ec8e..6cdc420afa 100755
--- a/configure
+++ b/configure
@@ -3437,7 +3437,7 @@  afftdn_filter_select="fft"
 afftfilt_filter_deps="avcodec"
 afftfilt_filter_select="fft"
 afir_filter_deps="avcodec"
-afir_filter_select="fft"
+afir_filter_select="rdft"
 amovie_filter_deps="avcodec avformat"
 aresample_filter_deps="swresample"
 asr_filter_deps="pocketsphinx"
@@ -3545,6 +3545,7 @@  showspectrum_filter_select="fft"
 showspectrumpic_filter_deps="avcodec"
 showspectrumpic_filter_select="fft"
 signature_filter_deps="gpl avcodec avformat"
+sinc_filter_select="rdft"
 smartblur_filter_deps="gpl swscale"
 sobel_opencl_filter_deps="opencl"
 sofalizer_filter_deps="libmysofa avcodec"
@@ -3559,6 +3560,8 @@  stereo3d_filter_deps="gpl"
 subtitles_filter_deps="avformat avcodec libass"
 super2xsai_filter_deps="gpl"
 pixfmts_super2xsai_test_deps="super2xsai_filter"
+superequalizer_filter_select="rdft"
+surround_filter_select="rdft"
 tinterlace_filter_deps="gpl"
 tinterlace_merge_test_deps="tinterlace_filter"
 tinterlace_pad_test_deps="tinterlace_filter"