[FFmpeg-devel] [PATCH 1/1] libavutil: Fix uClibc build for mips

2021-04-11 Thread Bernd Kuhls
-declaration] return getauxval(AT_HWCAP) & HWCAP_LOONGSON_CPUCFG; ^ libavutil/mips/cpu.c:37:22: error: ‘AT_HWCAP’ undeclared (first use in this function) return getauxval(AT_HWCAP) & HWCAP_LOONGSON_CPUCFG; Signed-off-by: Bernd Kuhls --- libavutil/mips/c

[FFmpeg-devel] [PATCH 1/1] libavutil: Fix mips build

2021-06-06 Thread Bernd Kuhls
Check for sys/auxv.h because not all toolchains contain this header. Fixes https://trac.ffmpeg.org/ticket/9138 Signed-off-by: Bernd Kuhls --- configure| 2 ++ libavutil/mips/cpu.c | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/configure b/configure index

[FFmpeg-devel] [PATCH v2 1/1] libavutil: Fix mips build

2021-06-09 Thread Bernd Kuhls
Check for sys/auxv.h because not all toolchains contain this header. Fixes https://trac.ffmpeg.org/ticket/9138 Signed-off-by: Bernd Kuhls --- v2: defined(HAVE_SYS_AUXV_H) -> HAVE_SYS_AUXV_H configure| 2 ++ libavutil/mips/cpu.c | 6 +++--- 2 files changed, 5 insertions(+)

[FFmpeg-devel] [PATCH 1/1] Fix compile error on bfin.

2014-08-04 Thread Bernd Kuhls
/ae056f267e907091d09d2a1546d6f1ae02fa23b9/ Signed-off-by: Bernd Kuhls --- libavcodec/mathops.h |2 -- libavutil/bswap.h|2 -- libavutil/timer.h|2 -- 3 files changed, 6 deletions(-) diff --git a/libavcodec/mathops.h b/libavcodec/mathops.h index b0e48d8..87fca0c 100644 --- a/libavcodec

Re: [FFmpeg-devel] [PATCH 1/2] avutil/libm: Replace macro based fminf() by function

2014-08-04 Thread Bernd Kuhls
Michael Niedermayer wrote in news:1402065736-24164-1-git- send-email-michae...@gmx.at: > libavutil/libm.h |5 - Hi, the current code in libm.h breaks compilation when the libc does not provide fminf, which is the case for uClibc. Here you will find a patch fixing the problem for me, a

[FFmpeg-devel] Startcode related compile error on arm4/arm5

2014-09-23 Thread Bernd Kuhls
Hi, Since these commits http://git.videolan.org/? p=ffmpeg.git;a=commitdiff;h=adf8227cf4e7b4fccb2ad88e1e09b6dc00dd00ed http://git.videolan.org/? p=ffmpeg.git;a=commitdiff;h=db7f1c7c5a1d37e7f4da64a79a97bea1c4b6e9f8 compilation on arm4/arm5 fails: libavcodec/libavcodec.so: undefined reference to

Re: [FFmpeg-devel] [PATCH 1/2] avutil/libm: Replace macro based fminf() by function

2014-09-23 Thread Bernd Kuhls
wm4 wrote in news:20140804213955.42443190@debian: > the problem is obviously that uclibc provides a fminf prorotype, but no > implementation. Obviously this breaks any application that attempts to > detect fminf, and provides its own fallback if it doesn't appear to > exist. > > Why do you think

[FFmpeg-devel] [PATCH 1/1] Fix compile error on arm4/arm5 platform

2014-09-23 Thread Bernd Kuhls
s the necessary #if clauses as discussed with Michael: https://ffmpeg.org/pipermail/ffmpeg-devel/2014-September/163329.html Signed-off-by: Bernd Kuhls --- libavcodec/arm/h264dsp_init_arm.c |2 ++ libavcodec/arm/vc1dsp_init_arm.c |2 ++ 2 files changed, 4 insertions(+) diff --git a/libavcode

Re: [FFmpeg-devel] [PATCH 1/1] Fix compile error on arm4/arm5 platform

2014-09-23 Thread Bernd Kuhls
Michael Niedermayer wrote in news:20140923193723.GF4656 @nb4: > btw, maybe you want to setup a arm4/5 fate client ? > so these kind of issues get detected and fixed quicker in the future > > See: http://ffmpeg.org/fate.html Hi, thanks for the hint, but my use case for ffmpeg is on x86. not arm

[FFmpeg-devel] [PATCH 1/1] configure: use require_pkg_config to check for wavpack

2020-09-20 Thread Bernd Kuhls
Fixes static builds with toolchains needing "-lm" for math functions. Signed-off-by: Bernd Kuhls --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 5d68695192..4e6c6edd30 100755 --- a/configure +++ b/configure @@ -6438