Can this be backported to 7, 6, 5 and 4.4 releases?
On 2024-05-05 11:59 p.m., Brad Smith wrote:
lavd/v4l2: Use proper field type for second parameter of ioctl() with BSD's
The proper type was used until 73251678c83cbe24d08264da693411b166239bc7.
This covers all of the OS's that curr
yes and everyone who has write access to master also has write access to
the releases branches!
thx
Ok, I don't mind helping out here.
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscr
configure: enable ffnvcodec, nvenc, nvdec for FreeBSD
Signed-off-by: Brad Smith
---
configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure b/configure
index b16722d83d..96b181fd21 100755
--- a/configure
+++ b/configure
@@ -7350,7 +7350,7 @@ fi
if enabled x86
On 2024-05-19 7:24 a.m., Timo Rothenpieler wrote:
On 19.05.2024 02:00, Brad Smith wrote:
configure: enable ffnvcodec, nvenc, nvdec for FreeBSD
Signed-off-by: Brad Smith
---
configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure b/configure
index b16722d83d
[PATCH] aarch64: Add OpenBSD runtime detection of dotprod and i8mm using sysctl
Signed-off-by: Brad Smith
---
libavutil/aarch64/cpu.c | 35 +++
1 file changed, 35 insertions(+)
diff --git a/libavutil/aarch64/cpu.c b/libavutil/aarch64/cpu.c
index 196bdaf6b0
On 2024-06-24 4:15 a.m., Martin Storsjö wrote:
On Sat, 22 Jun 2024, Brad Smith wrote:
[PATCH] aarch64: Add OpenBSD runtime detection of dotprod and i8mm
using sysctl
Signed-off-by: Brad Smith
---
libavutil/aarch64/cpu.c | 35 +++
1 file changed, 35 insertions
configure: Enable section_data_rel_ro for FreeBSD and NetBSD aarch64 / arm
Signed-off-by: Brad Smith
---
configure | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configure b/configure
index 078aa9437a..226874600a 100755
--- a/configure
+++ b/configure
@@ -5601,6 +5601,7 @@ case
configure: Remove bitrig support
Bitrig was an OpenBSD derivative that has been dead for awhile now.
Signed-off-by: Brad Smith
---
configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure b/configure
index 06e3a7b2a8..9221621bd1 100755
--- a/configure
+++ b
On Wed, Feb 26, 2020 at 02:18:30PM -0500, Brad Smith wrote:
> configure: Remove bitrig support
>
> Bitrig was an OpenBSD derivative that has been dead for awhile now.
>
> Signed-off-by: Brad Smith
> ---
> configure | 2 +-
> 1 file changed, 1 insertion(+), 1 delet
avutil/cpu: Use HW_NCPUONLINE to detect # of online CPUs with OpenBSD
Signed-off-by: Brad Smith
---
libavutil/cpu.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/libavutil/cpu.c b/libavutil/cpu.c
index 8e3576a1f3..9d249737df 100644
--- a/libavutil/cpu.c
+++ b/libavutil/cpu.c
ping.
On 4/3/2021 2:49 PM, Brad Smith wrote:
avutil/cpu: Use HW_NCPUONLINE to detect # of online CPUs with OpenBSD
Signed-off-by: Brad Smith
---
libavutil/cpu.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/libavutil/cpu.c b/libavutil/cpu.c
index 8e3576a1f3..9d249737df 100644
ping.
On 4/3/2021 2:49 PM, Brad Smith wrote:
avutil/cpu: Use HW_NCPUONLINE to detect # of online CPUs with OpenBSD
Signed-off-by: Brad Smith
---
libavutil/cpu.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/libavutil/cpu.c b/libavutil/cpu.c
index 8e3576a1f3..9d249737df 100644
Can this please be back ported to the 4.4 branch?
On 4/18/2021 4:50 PM, Marton Balint wrote:
On Fri, 16 Apr 2021, Brad Smith wrote:
ping.
Will apply, thanks.
Marton
On 4/3/2021 2:49 PM, Brad Smith wrote:
avutil/cpu: Use HW_NCPUONLINE to detect # of online CPUs with OpenBSD
Signed
- Garbage collect bitrig. Was a OpenBSD derivative that has been dead for quite
awhile.
- Enable section_data_rel_ro for ARM support.
diff --git a/configure b/configure
index ab761c7183..9221621bd1 100755
--- a/configure
+++ b/configure
@@ -5303,8 +5303,9 @@ case $target_os in
oss_outde
On Sun, Feb 16, 2020 at 03:51:26PM +0100, Michael Niedermayer wrote:
> On Sat, Feb 15, 2020 at 03:29:41PM -0500, Brad Smith wrote:
> > - Garbage collect bitrig. Was a OpenBSD derivative that has been dead for
> > quite awhile.
> > - Enable section_data_rel_ro for ARM supp
On 2/16/2020 6:23 PM, Michael Niedermayer wrote:
On Sun, Feb 16, 2020 at 02:25:28PM -0500, Brad Smith wrote:
On Sun, Feb 16, 2020 at 03:51:26PM +0100, Michael Niedermayer wrote:
On Sat, Feb 15, 2020 at 03:29:41PM -0500, Brad Smith wrote:
- Garbage collect bitrig. Was a OpenBSD derivative
configure: Enable section_data_rel_ro for OpenBSD aarch64 / arm
Signed-off-by: Brad Smith
---
configure | 1 +
1 file changed, 1 insertion(+)
diff --git a/configure b/configure
index ab761c7183..06e3a7b2a8 100755
--- a/configure
+++ b/configure
@@ -5305,6 +5305,7 @@ case $target_os in
OpenBSD only supports riscv64 but this is an attempt at adding
some of the initial bits for RISC-V support.
diff --git a/configure b/configure
index b3b8065188..8b5edaa01e 100755
--- a/configure
+++ b/configure
@@ -2021,6 +2021,7 @@ ARCH_LIST="
parisc
ppc
ppc64
+riscv
s390
Make use of the V4L2 VIDIOC_ENUM_FRAMESIZES ioctl on OpenBSD.
diff --git a/configure b/configure
index 5b16af9..790a5eb 100755
--- a/configure
+++ b/configure
@@ -4967,6 +4967,7 @@ check_header linux/videodev2.h
check_code cc linux/videodev2.h "struct v4l2_frmsizeenum vfse;
vfse.discrete.width
On 2024-04-28 2:15 p.m., Rémi Denis-Courmont wrote:
Le torstaina 11. huhtikuuta 2024, 10.50.01 EEST Lynne a écrit :
Is there a reason why we can't switch to IPv4 addresses mapped
in IPv6 and just use the IPv6 API everywhere?
IPv6-mapped IPv4 addresses are pretty much deprecated, if supported an
avutil/ppc/cpu: Also use the machdep.altivec sysctl on NetBSD
Use the machdep.altivec sysctl on NetBSD for AltiVec detection
as is done with OpenBSD.
Signed-off-by: Brad Smith
---
libavutil/ppc/cpu.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/libavutil/ppc/cpu.c
D, Solaris.
Copied from FreeBSD ports patch.
Signed-off-by: Brad Smith
---
libavdevice/v4l2.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c
index 3706582bc6..74f43ef6a9 100644
--- a/libavdevice/v4l2.c
+++ b/libavdevice/v4l2.c
On 2024-05-06 10:24 p.m., Michael Niedermayer wrote:
On Sun, May 05, 2024 at 11:21:58PM -0400, Brad Smith wrote:
avutil/ppc/cpu: Also use the machdep.altivec sysctl on NetBSD
Use the machdep.altivec sysctl on NetBSD for AltiVec detection
as is done with OpenBSD.
Signed-off-by: Brad Smith
On 2024-05-11 5:49 p.m., Michael Niedermayer wrote:
On Sat, May 11, 2024 at 03:55:44PM -0400, Brad Smith wrote:
On 2024-05-06 10:24 p.m., Michael Niedermayer wrote:
On Sun, May 05, 2024 at 11:21:58PM -0400, Brad Smith wrote:
avutil/ppc/cpu: Also use the machdep.altivec sysctl on NetBSD
Use
On 2024-05-11 8:13 p.m., Michael Niedermayer wrote:
Hi
On Sat, May 11, 2024 at 06:24:32PM -0400, Brad Smith wrote:
On 2024-05-11 5:49 p.m., Michael Niedermayer wrote:
On Sat, May 11, 2024 at 03:55:44PM -0400, Brad Smith wrote:
On 2024-05-06 10:24 p.m., Michael Niedermayer wrote:
On Sun, May
MAINTAINERS: add myself as *BSD maintainer
I try to help out with *BSD patches or build related issues where I can.
Signed-off-by: Brad Smith
---
MAINTAINERS | 1 +
1 file changed, 1 insertion(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index dd633f37e8..41a98744ad 100644
--- a/MAINTAINERS
On 2023-07-20 3:17 p.m., Brad Smith wrote:
On 7/7/2023 3:16 PM, Brad Smith wrote:
On 2023-07-01 2:58 p.m., Brad Smith wrote:
On 2023-06-23 7:36 p.m., Brad Smith wrote:
On 2023-06-23 7:35 p.m., Michael Niedermayer wrote:
On Fri, Jun 23, 2023 at 06:56:30PM -0400, Brad Smith wrote:
On 2023-06
On 2023-08-07 3:30 p.m., Michael Niedermayer wrote:
On Mon, Aug 07, 2023 at 03:04:35PM -0400, Brad Smith wrote:
On 2023-07-20 3:17 p.m., Brad Smith wrote:
On 7/7/2023 3:16 PM, Brad Smith wrote:
On 2023-07-01 2:58 p.m., Brad Smith wrote:
On 2023-06-23 7:36 p.m., Brad Smith wrote:
On 2023-06
lsws/ppc/yuv2rgb_altivec: Fix build in non-VSX environments with Clang
libswscale/ppc/yuv2rgb_altivec.c:288:36: error: redeclaration of 'vec_xl' must
have the 'overloadable' attribute
---
libswscale/ppc/yuv2rgb_altivec.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib
Just FYI, we have had this in the OpenBSD and FreeBSD packages for quite
awhile
to be able to build on powerpc64.
On 2023-08-07 9:02 p.m., Brad Smith wrote:
lsws/ppc/yuv2rgb_altivec: Fix build in non-VSX environments with Clang
libswscale/ppc/yuv2rgb_altivec.c:288:36: error: redeclaration of
lsws/ppc/yuv2rgb_altivec: Fix build in non-VSX environments with Clang
Add a check for the existence of the vec_xl() function. Clang provides
the function even with VSX not enabled.
---
configure| 8
libswscale/ppc/yuv2rgb_altivec.c | 4 ++--
2 files changed, 10 i
lsws/ppc/yuv2rgb_altivec: Fix build in non-VSX environments with Clang
Add a check for the existence of the vec_xl() function. Clang provides
the function even with VSX not enabled.
v2: test for function if AltiVec is enabled instead of with AltiVec and without
VSX
---
configure
On 2024-07-19 11:46 a.m., Rémi Denis-Courmont wrote:
If __riscv_hwprobe() fails, then the kernel version is presumably too
old. There is not much point falling back to the auxillary vector.
- The Linux kernel requires I, so the flag is always set on Linux, and
run-time detection is unnecessar
aarch64: Implement support for elf_aux_info(3) on FreeBSD and OpenBSD
FreeBSD 12.0+, OpenBSD -current and what will be OpenBSD 7.6 support
elf_aux_info(3).
Signed-off-by: Brad Smith
---
configure | 2 ++
libavutil/aarch64/cpu.c | 23 ++-
2 files changed, 24
On 2024-07-26 7:56 a.m., Rémi Denis-Courmont wrote:
Le 26 juillet 2024 13:58:34 GMT+03:00, Brad Smith
a écrit :
aarch64: Implement support for elf_aux_info(3) on FreeBSD and OpenBSD
FreeBSD 12.0+, OpenBSD -current and what will be OpenBSD 7.6 support
elf_aux_info(3).
Signed-off-by: Brad
avutil/cpu_internal: Provide ff_getauxval() wrapper for getauxvaul()
Initially used for getauxval() but will be used to add support for
other API.
Signed-off-by: Brad Smith
---
libavutil/aarch64/cpu.c | 4 ++--
libavutil/arm/cpu.c | 2 +-
libavutil/cpu.c | 14
On 2024-08-29 9:47 a.m., Ramiro Polla wrote:
Hi,
On Mon, Aug 12, 2024 at 7:16 AM Lance Fredrickson
wrote:
In commit 9e674b31606c805dd31b4bb754364a72a5877238 of ffmpeg this change
tries to detect musl libc by way of a "__musl__" macro. This macro
however, doesn't exist in musl. This results in
On 2024-08-30 7:07 a.m., Ramiro Polla wrote:
On 2024-08-30 05:50, Brad Smith wrote:
On 2024-08-29 9:47 a.m., Ramiro Polla wrote:
On Mon, Aug 12, 2024 at 7:16 AM Lance Fredrickson
wrote:
In commit 9e674b31606c805dd31b4bb754364a72a5877238 of ffmpeg this
change
tries to detect musl libc by
ping.
On 2024-08-24 9:19 a.m., Brad Smith wrote:
avutil/cpu_internal: Provide ff_getauxval() wrapper for getauxvaul()
Initially used for getauxval() but will be used to add support for
other API.
Signed-off-by: Brad Smith
---
libavutil/aarch64/cpu.c | 4 ++--
libavutil/arm/cpu.c
On 2024-09-09 5:23 a.m., Ramiro Polla wrote:
On Sat, Aug 24, 2024 at 3:30 PM Brad Smith
wrote:
avutil/cpu_internal: Provide ff_getauxval() wrapper for getauxvaul()
Initially used for getauxval() but will be used to add support for
other API.
I'm curious, what other API do you have in
On 2024-09-09 5:55 a.m., Ramiro Polla wrote:
On Mon, Sep 9, 2024 at 11:34 AM Brad Smith wrote:
On 2024-09-09 5:23 a.m., Ramiro Polla wrote:
On Sat, Aug 24, 2024 at 3:30 PM Brad Smith
wrote:
avutil/cpu_internal: Provide ff_getauxval() wrapper for getauxvaul()
Initially used for getauxval
aarch64: Implement support for elf_aux_info(3) on FreeBSD and OpenBSD
FreeBSD 12.0+, OpenBSD -current and what will be OpenBSD 7.6 support
elf_aux_info(3).
Signed-off-by: Brad Smith
---
configure | 2 ++
libavutil/aarch64/cpu.c | 2 +-
libavutil/cpu.c | 9 -
3
On 2024-09-09 7:00 a.m., Martin Storsjö wrote:
On Mon, 9 Sep 2024, Brad Smith wrote:
aarch64: Implement support for elf_aux_info(3) on FreeBSD and OpenBSD
FreeBSD 12.0+, OpenBSD -current and what will be OpenBSD 7.6 support
elf_aux_info(3).
Signed-off-by: Brad Smith
---
configure
On 2024-09-09 7:11 a.m., Ramiro Polla wrote:
On Mon, Sep 9, 2024 at 1:06 PM Brad Smith
wrote:
On 2024-09-09 7:00 a.m., Martin Storsjö wrote:
On Mon, 9 Sep 2024, Brad Smith wrote:
aarch64: Implement support for elf_aux_info(3) on FreeBSD and OpenBSD
FreeBSD 12.0+, OpenBSD -current and what
libavutil/ppc: Make use of getauxval() and elf_aux_info() on ppc
Modern Linux has getauxval() and FreeBSD/OpenBSD ppc have elf_aux_info().
Signed-off-by: Brad Smith
---
libavutil/ppc/cpu.c | 16
1 file changed, 16 insertions(+)
diff --git a/libavutil/ppc/cpu.c b/libavutil/ppc
Subject: [PATCH] libavutil/ppc: Make use of getauxval() and elf_aux_info() on
ppc
Modern Linux has getauxval() and FreeBSD/OpenBSD ppc have elf_aux_info().
Signed-off-by: Brad Smith
---
adjust to build with older glibc.
libavutil/ppc/cpu.c | 22 ++
1 file changed, 22
Fix setsockopt() usage on OpenBSD with IP_MULTICAST_TTL. The field
type should be an unsigned char on anything but Linux.
diff --git a/libavformat/udp.c b/libavformat/udp.c
index 180d96a988..29aa865fff 100644
--- a/libavformat/udp.c
+++ b/libavformat/udp.c
@@ -163,7 +163,13 @@ static int udp_set_
https://github.com/FFmpeg/FFmpeg/commit/ab792634197e364ca1bb194f9abe36836e42f12d
But the function is in libavformat/utils.c for 4.4 instead of
libavformat/seek.c.
Could the Clang 14 fix please be backported to the 4.4 branch?
OpenBSD ran into this issue recently when upgrading from Clang 13
On 2023-12-21 7:34 p.m., Michael Niedermayer wrote:
On Thu, Dec 21, 2023 at 01:41:20AM -0500, Brad Smith wrote:
https://github.com/FFmpeg/FFmpeg/commit/ab792634197e364ca1bb194f9abe36836e42f12d
But the function is in libavformat/utils.c for 4.4 instead of
libavformat/seek.c.
Could the Clang 14
ping.
On 2023-12-17 9:22 p.m., Brad Smith wrote:
configure: Enable section_data_rel_ro for FreeBSD and NetBSD aarch64 / arm
Signed-off-by: Brad Smith
---
configure | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configure b/configure
index 078aa9437a..226874600a 100755
--- a
configure: Enable section_data_rel_ro for FreeBSD and NetBSD aarch64 / arm
Fixes the build. It's a requirement when utilizing PIE.
Signed-off-by: Brad Smith
---
configure | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configure b/configure
index 078aa9437a..226874600a 100755
On 2023-12-24 1:58 p.m., Michael Niedermayer wrote:
Hi
On Sun, Dec 17, 2023 at 09:22:39PM -0500, Brad Smith wrote:
configure: Enable section_data_rel_ro for FreeBSD and NetBSD aarch64 / arm
The commit message should be a bit more verbose.
Explaining "why" even if thats obvious t
On 2023-12-24 9:08 p.m., Michael Niedermayer wrote:
On Sun, Dec 24, 2023 at 02:33:31PM -0500, Brad Smith wrote:
configure: Enable section_data_rel_ro for FreeBSD and NetBSD aarch64 / arm
Fixes the build. It's a requirement when utilizing PIE.
Signed-off-by: Brad Smith
---
configur
On December 26, 2023 7:35:09 a.m. Michael Niedermayer
wrote:
On Mon, Dec 25, 2023 at 09:04:54PM -0500, Brad Smith wrote:
On 2023-12-24 9:08 p.m., Michael Niedermayer wrote:
On Sun, Dec 24, 2023 at 02:33:31PM -0500, Brad Smith wrote:
configure: Enable section_data_rel_ro for FreeBSD and
configure: remove Bitrig OS
Bitrig has been defunct for 7 years.
Signed-off-by: Brad Smith
---
configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure b/configure
index 42786719e9..d96b47ebe5 100755
--- a/configure
+++ b/configure
@@ -5625,7 +5625,7 @@ case
Could this be back ported to 6.1?
https://git.videolan.org/?p=ffmpeg.git;a=commit;h=b3825bbe452c8e4f129fa90bba1fed0ee7b87d71
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit l
lavu/thread: add support for setting thread name on *bsd and solaris
FreeBSD/DragonFly/Solaris use pthread_setname_np(). OpenBSD uses
pthread_set_name_np().
Signed-off-by: Brad Smith
---
configure | 10 ++
libavutil/thread.h | 14 --
2 files changed, 22 insertions
On Sun, Dec 31, 2023 at 10:21:51PM +0100, Michael Niedermayer wrote:
> On Sun, Dec 31, 2023 at 03:57:02AM -0500, Brad Smith wrote:
> > Could this be back ported to 6.1?
> >
> > https://git.videolan.org/?p=ffmpeg.git;a=commit;h=b3825bbe452c8e4f129fa90bba1fed0ee7b87d71
>
&
lavu/thread: add support for setting thread name on *bsd and solaris
FreeBSD/DragonFly/Solaris use pthread_setname_np(). OpenBSD uses
pthread_set_name_np().
Signed-off-by: Brad Smith
---
configure | 10 ++
libavutil/thread.h | 14 --
2 files changed, 22 insertions
On 2024-01-06 12:27 p.m., Michael Niedermayer wrote:
On Wed, Jan 03, 2024 at 11:19:56PM -0500, Brad Smith wrote:
lavu/thread: add support for setting thread name on *bsd and solaris
FreeBSD/DragonFly/Solaris use pthread_setname_np(). OpenBSD uses
pthread_set_name_np().
Signed-off-by: Brad
On 2023-12-31 2:23 a.m., Brad Smith wrote:
configure: remove Bitrig OS
Bitrig has been defunct for 7 years.
Signed-off-by: Brad Smith
---
configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure b/configure
index 42786719e9..d96b47ebe5 100755
--- a/configure
On 2024-01-07 12:55 a.m., Brad Smith wrote:
lavu/thread: add support for setting thread name on *bsd and solaris
FreeBSD/DragonFly/Solaris use pthread_setname_np(). OpenBSD uses
pthread_set_name_np().
Signed-off-by: Brad Smith
---
configure | 10 ++
libavutil/thread.h | 14
On 2024-01-16 1:25 a.m., Brad Smith wrote:
On 2024-01-07 12:55 a.m., Brad Smith wrote:
lavu/thread: add support for setting thread name on *bsd and solaris
FreeBSD/DragonFly/Solaris use pthread_setname_np(). OpenBSD uses
pthread_set_name_np().
Signed-off-by: Brad Smith
---
configure
On 2024-01-23 2:44 p.m., Brad Smith wrote:
On 2024-01-16 1:25 a.m., Brad Smith wrote:
On 2024-01-07 12:55 a.m., Brad Smith wrote:
lavu/thread: add support for setting thread name on *bsd and solaris
FreeBSD/DragonFly/Solaris use pthread_setname_np(). OpenBSD uses
pthread_set_name_np
ping.
On 7/25/2021 6:31 PM, Brad Smith wrote:
OpenBSD only supports riscv64 but this is an attempt at adding
some of the initial bits for RISC-V support.
diff --git a/configure b/configure
index b3b8065188..8b5edaa01e 100755
--- a/configure
+++ b/configure
@@ -2021,6 +2021,7 @@ ARCH_LIST
On 1/19/2022 10:23 AM, James Almer wrote:
On 1/19/2022 10:48 AM, Anton Khirnov wrote:
C11 atomics in some configurations (e.g. 64bit operations on ppc64 with
GCC) require linking to libatomic.
Fixes #9275
---
configure | 25 -
1 file changed, 16 insertions(+), 9 dele
ping.
On 1/12/2022 12:13 AM, Brad Smith wrote:
Fix setsockopt() usage on OpenBSD with IP_MULTICAST_TTL. The field
type should be an unsigned char on anything but Linux.
diff --git a/libavformat/udp.c b/libavformat/udp.c
index 180d96a988..29aa865fff 100644
--- a/libavformat/udp.c
+++ b
On 1/22/2022 4:00 AM, Hendrik Leppkes wrote:
On Sat, Jan 22, 2022 at 7:43 AM Brad Smith
wrote:
On 1/19/2022 10:23 AM, James Almer wrote:
On 1/19/2022 10:48 AM, Anton Khirnov wrote:
C11 atomics in some configurations (e.g. 64bit operations on ppc64 with
GCC) require linking to libatomic
On 1/23/2022 6:57 AM, Michael Niedermayer wrote:
On Wed, Jan 12, 2022 at 12:13:13AM -0500, Brad Smith wrote:
Fix setsockopt() usage on OpenBSD with IP_MULTICAST_TTL. The field
type should be an unsigned char on anything but Linux.
diff --git a/libavformat/udp.c b/libavformat/udp.c
index
On Mon, Jan 24, 2022 at 01:40:47PM +0100, Michael Niedermayer wrote:
> On Sun, Jan 23, 2022 at 02:55:38PM -0500, Brad Smith wrote:
> > On 1/23/2022 6:57 AM, Michael Niedermayer wrote:
> >
> > > On Wed, Jan 12, 2022 at 12:13:13AM -0500, Brad Smith wrote:
> > > &g
On 1/25/2022 7:28 PM, Chad Fraleigh wrote:
Since apparently linux will auto-detect (as mentioned by Marton Balint), based on the
optlen parameter, just using unsigned char in all cases seems to be the cleanest.
However, I would advise including a comment in the code to that effect which says t
On Wed, Jan 12, 2022 at 12:13:14AM -0500, Brad Smith wrote:
> Fix setsockopt() usage on OpenBSD with IP_MULTICAST_TTL. The field
> type should be an unsigned char on anything but Linux.
Based on feedback so far. Here is a much simpler approach to this issue..
diff --git a/libavformat/u
On 1/26/2022 6:49 AM, Anton Khirnov wrote:
Quoting Brad Smith (2022-01-23 20:40:30)
Testing this commit out it does as I had suspected and even with --as-needed
causes a false positive on OpenBSD / FreeBSD.
Why?
Looking at this again and thinking about what it does, the test as is is
On 1/29/2022 4:54 AM, Hendrik Leppkes wrote:
On Sat, Jan 29, 2022 at 5:45 AM Brad Smith
wrote:
libatomic is dropped by --as-needed since it is not necessary.
Thats what this solution relies on, and thus there is no harm in adding it.
But it doesn't work, and the generated pkg-config
Use the proper header for PPC CPU detection code. sys/param.h includes
sys/types, but sys/types.h is the more appropriate header to be used
here.
diff --git a/libavutil/ppc/cpu.c b/libavutil/ppc/cpu.c
index b022149fa0..96b491c716 100644
--- a/libavutil/ppc/cpu.c
+++ b/libavutil/ppc/cpu.c
@@ -28,7
---
configure | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/configure b/configure
index 0c77d8e1fe..653aafb1ea 100755
--- a/configure
+++ b/configure
@@ -7009,8 +7009,7 @@ enabled alsa && { check_pkg_config alsa alsa
"alsa/asoundlib.h" snd_pcm_htimesta
enabled libjack &
On Sun, Jun 18, 2023 at 12:01:14AM +0200, Michael Niedermayer wrote:
>
> this breaks a plain configure
> here on ubuntu
>
> ./configure
> ERROR: sndio not found using pkg-config
>
> If you think configure made a mistake, make sure you are using the latest
> version from Git. If the latest versi
ping.
On 2023-06-17 6:48 p.m., Brad Smith wrote:
On Sun, Jun 18, 2023 at 12:01:14AM +0200, Michael Niedermayer wrote:
this breaks a plain configure
here on ubuntu
./configure
ERROR: sndio not found using pkg-config
If you think configure made a mistake, make sure you are using the latest
On 2023-06-23 6:55 p.m., Michael Niedermayer wrote:
On Fri, Jun 23, 2023 at 06:41:08PM -0400, Brad Smith wrote:
ping.
On 2023-06-17 6:48 p.m., Brad Smith wrote:
On Sun, Jun 18, 2023 at 12:01:14AM +0200, Michael Niedermayer wrote:
this breaks a plain configure
here on ubuntu
./configure
On 2023-06-23 7:35 p.m., Michael Niedermayer wrote:
On Fri, Jun 23, 2023 at 06:56:30PM -0400, Brad Smith wrote:
On 2023-06-23 6:55 p.m., Michael Niedermayer wrote:
On Fri, Jun 23, 2023 at 06:41:08PM -0400, Brad Smith wrote:
ping.
On 2023-06-17 6:48 p.m., Brad Smith wrote:
On Sun, Jun 18
On 2023-06-23 7:36 p.m., Brad Smith wrote:
On 2023-06-23 7:35 p.m., Michael Niedermayer wrote:
On Fri, Jun 23, 2023 at 06:56:30PM -0400, Brad Smith wrote:
On 2023-06-23 6:55 p.m., Michael Niedermayer wrote:
On Fri, Jun 23, 2023 at 06:41:08PM -0400, Brad Smith wrote:
ping.
On 2023-06-17 6:48
On 2023-07-01 2:58 p.m., Brad Smith wrote:
On 2023-06-23 7:36 p.m., Brad Smith wrote:
On 2023-06-23 7:35 p.m., Michael Niedermayer wrote:
On Fri, Jun 23, 2023 at 06:56:30PM -0400, Brad Smith wrote:
On 2023-06-23 6:55 p.m., Michael Niedermayer wrote:
On Fri, Jun 23, 2023 at 06:41:08PM -0400
On 7/7/2023 3:16 PM, Brad Smith wrote:
On 2023-07-01 2:58 p.m., Brad Smith wrote:
On 2023-06-23 7:36 p.m., Brad Smith wrote:
On 2023-06-23 7:35 p.m., Michael Niedermayer wrote:
On Fri, Jun 23, 2023 at 06:56:30PM -0400, Brad Smith wrote:
On 2023-06-23 6:55 p.m., Michael Niedermayer wrote:
On
ping.
On 3/2/2022 8:34 PM, Brad Smith wrote:
Use the proper header for PPC CPU detection code. sys/param.h includes
sys/types, but sys/types.h is the more appropriate header to be used
here.
diff --git a/libavutil/ppc/cpu.c b/libavutil/ppc/cpu.c
index b022149fa0..96b491c716 100644
--- a
libavutil/ppc: Make use of getauxval() and elf_aux_info() on ppc
Modern Linux has getauxval() and FreeBSD/OpenBSD ppc have elf_aux_info().
Signed-off-by: Brad Smith
---
v2: adjust to build with older glibc.
v3: freebsd/ppc requires machine/cpu.h header for feature flags.
libavutil/ppc/cpu.c
libavutil/ppc: Include the hardware feature flags like the other archs
Also include the hardware feature flags like the other archs do and
clean up the code a bit.
Tested on Linux POWER8.
Signed-off-by: Brad Smith
---
libavutil/ppc/cpu.c | 35 +--
1 file
I had a bigger diff to handle all of the same type of flags in the same
manner, but I can post that separately.
LGTM.
On 2024-11-02 2:13 a.m., Sean McGovern wrote:
Otherwise, these can overflow at the boundaries of the integer type.
---
libavutil/ppc/cpu.c | 6 +++---
1 file changed, 3 inser
On 2024-11-01 8:50 p.m., Michael Niedermayer wrote:
On Fri, Nov 01, 2024 at 01:45:46AM -0400, Brad Smith wrote:
ping.
it builds on my old cross compile environment on ubuntu
but i have no real ppc here to test beyond that
thx
Tested with a Linux Power8 VM.
[almalinux@ffmpeg1 tests]$ ./cpu
ping.
On 2024-10-20 3:44 a.m., Brad Smith wrote:
libavutil/ppc: Include the hardware feature flags like the other archs
Also include the hardware feature flags like the other archs do and
clean up the code a bit.
Tested on Linux POWER8.
Signed-off-by: Brad Smith
---
libavutil/ppc/cpu.c
ppc: Recognize the PPC VSX and Power8 CPU flags
Signed-off-by: Brad Smith
---
libavutil/cpu.c | 2 ++
libavutil/tests/cpu.c | 2 ++
2 files changed, 4 insertions(+)
diff --git a/libavutil/cpu.c b/libavutil/cpu.c
index df00bd541f..44cbb9e9ff 100644
--- a/libavutil/cpu.c
+++ b/libavutil
ping.
On 2024-09-21 5:05 a.m., Brad Smith wrote:
ppc: Recognize the PPC VSX and Power8 CPU flags
Signed-off-by: Brad Smith
---
libavutil/cpu.c | 2 ++
libavutil/tests/cpu.c | 2 ++
2 files changed, 4 insertions(+)
diff --git a/libavutil/cpu.c b/libavutil/cpu.c
index df00bd541f
ping.
On 2024-09-15 1:40 a.m., Brad Smith wrote:
libavutil/ppc: Make use of getauxval() and elf_aux_info() on ppc
Modern Linux has getauxval() and FreeBSD/OpenBSD ppc have elf_aux_info().
Signed-off-by: Brad Smith
---
v2: adjust to build with older glibc.
v3: freebsd/ppc requires machine
On 2024-11-18 1:28 p.m., Rémi Denis-Courmont wrote:
Le maanantaina 18. marraskuuta 2024, 4.02.39 EET Brad Smith a écrit :
libavutil/riscv: Make use of elf_aux_info() on FreeBSD / OpenBSD riscv
FreeBSD/OpenBSD riscv have elf_aux_info().
Does OpenBSD use the same HWCAP encoding as Linux and
On 2024-11-17 4:17 a.m., Rémi Denis-Courmont wrote:
The half-baked assembler in Clang 16 and earlier can't process our
RISC-V assembler. This adds yet another work around that.
If you must use Clang, please use version 17 or later.
LGTM. Fixes build with 16.
---
libavutil/riscv/cpu.h | 2
libavutil/riscv: Make use of elf_aux_info() on FreeBSD / OpenBSD riscv
FreeBSD/OpenBSD riscv have elf_aux_info().
Signed-off-by: Brad Smith
---
libavutil/riscv/cpu.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavutil/riscv/cpu.c b/libavutil/riscv/cpu.c
index
On 2025-03-06 8:28 a.m., Ramiro Polla wrote:
On Wed, Mar 5, 2025 at 4:17 AM Ramiro Polla wrote:
On Wed, Mar 5, 2025 at 2:24 AM Brad Smith
wrote:
On 2023-08-23 4:52 p.m., Michael Niedermayer wrote:
On Fri, Aug 18, 2023 at 10:14:04PM -0400, Brad Smith wrote:
lsws/ppc/yuv2rgb_altivec: Fix
On 2023-08-23 4:52 p.m., Michael Niedermayer wrote:
On Fri, Aug 18, 2023 at 10:14:04PM -0400, Brad Smith wrote:
lsws/ppc/yuv2rgb_altivec: Fix build in non-VSX environments with Clang
Add a check for the existence of the vec_xl() function. Clang provides
the function even with VSX not enabled
On 2025-05-12 9:11 p.m., Shiyou Yin wrote:
dpkg-architecture set DEB_HOST_ARCH_CPU as loong64 on loongarch.
---
configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure b/configure
index 2e69b3c56c..5f39050374 100755
--- a/configure
+++ b/configure
@@ -5290,7 +52
98 matches
Mail list logo