Re: [FFmpeg-devel] [PATCH] configure: enable ffnvcodec, nvenc, nvdec for FreeBSD

2024-05-25 Thread Brad Smith
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

[FFmpeg-devel] [PATCH] configure: enable ffnvcodec, nvenc, nvdec for FreeBSD

2024-05-18 Thread Brad Smith
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

Re: [FFmpeg-devel] [PATCH] lavd/v4l2: Use proper field type for second parameter of ioctl() with BSD's

2024-05-18 Thread Brad Smith
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

Re: [FFmpeg-devel] [PATCH] lavd/v4l2: Use proper field type for second parameter of ioctl() with BSD's

2024-05-18 Thread Brad Smith
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 currently have

[FFmpeg-devel] [PATCH] MAINTAINERS: add myself as *BSD maintainer

2024-05-11 Thread Brad Smith
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

Re: [FFmpeg-devel] [PATCH] avutil/ppc/cpu: Also use the machdep.altivec sysctl on NetBSD

2024-05-11 Thread Brad Smith
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

Re: [FFmpeg-devel] [PATCH] avutil/ppc/cpu: Also use the machdep.altivec sysctl on NetBSD

2024-05-11 Thread 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

Re: [FFmpeg-devel] [PATCH] avutil/ppc/cpu: Also use the machdep.altivec sysctl on NetBSD

2024-05-11 Thread Brad Smith
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

[FFmpeg-devel] [PATCH] lavd/v4l2: Use proper field type for second parameter of ioctl() with BSD's

2024-05-05 Thread Brad Smith
. 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 @@ -108,10

[FFmpeg-devel] [PATCH] avutil/ppc/cpu: Also use the machdep.altivec sysctl on NetBSD

2024-05-05 Thread Brad Smith
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

Re: [FFmpeg-devel] [PATCH v2] avformat: enable UDP IPv6 multicast interface selection using zone index

2024-04-28 Thread Brad Smith
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

Re: [FFmpeg-devel] [PATCH v2] lavu/thread: add support for setting thread name on *bsd and solaris

2024-01-30 Thread Brad Smith
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

Re: [FFmpeg-devel] [PATCH v2] lavu/thread: add support for setting thread name on *bsd and solaris

2024-01-23 Thread Brad Smith
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

Re: [FFmpeg-devel] [PATCH v2] lavu/thread: add support for setting thread name on *bsd and solaris

2024-01-15 Thread Brad Smith
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

Re: [FFmpeg-devel] [PATCH] configure: remove Bitrig OS

2024-01-11 Thread Brad Smith
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

Re: [FFmpeg-devel] [PATCH] lavu/thread: add support for setting thread name on *bsd and solaris

2024-01-08 Thread Brad Smith
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

[FFmpeg-devel] [PATCH v2] lavu/thread: add support for setting thread name on *bsd and solaris

2024-01-06 Thread Brad Smith
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

Re: [FFmpeg-devel] Back port riscv: test for assembler support to 6.1

2024-01-06 Thread Brad Smith
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 > &

[FFmpeg-devel] [PATCH] lavu/thread: add support for setting thread name on *bsd and solaris

2024-01-03 Thread Brad Smith
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

[FFmpeg-devel] Back port riscv: test for assembler support to 6.1

2023-12-31 Thread Brad Smith
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

[FFmpeg-devel] [PATCH] configure: remove Bitrig OS

2023-12-30 Thread Brad Smith
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

Re: [FFmpeg-devel] [PATCH v2] configure: Enable section_data_rel_ro for FreeBSD and NetBSD aarch64 / arm

2023-12-26 Thread Brad Smith
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

Re: [FFmpeg-devel] [PATCH v2] configure: Enable section_data_rel_ro for FreeBSD and NetBSD aarch64 / arm

2023-12-25 Thread Brad Smith
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 --- configure | 2

Re: [FFmpeg-devel] [PATCH] configure: Enable section_data_rel_ro for FreeBSD and NetBSD aarch64 / arm

2023-12-24 Thread Brad Smith
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

[FFmpeg-devel] [PATCH v2] configure: Enable section_data_rel_ro for FreeBSD and NetBSD aarch64 / arm

2023-12-24 Thread Brad Smith
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

Re: [FFmpeg-devel] [PATCH] configure: Enable section_data_rel_ro for FreeBSD and NetBSD aarch64 / arm

2023-12-24 Thread Brad Smith
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

Re: [FFmpeg-devel] Backporting Clang 14 fix to the 4.4 branch

2023-12-21 Thread Brad Smith
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

[FFmpeg-devel] Backporting Clang 14 fix to the 4.4 branch

2023-12-20 Thread Brad Smith
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

[FFmpeg-devel] [PATCH] configure: Enable section_data_rel_ro for FreeBSD and NetBSD aarch64 / arm

2023-12-17 Thread Brad Smith
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

[FFmpeg-devel] [PATCH v2] lsws/ppc/yuv2rgb_altivec: Fix build in non-VSX environments with Clang

2023-08-18 Thread Brad Smith
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

[FFmpeg-devel] [PATCH] lsws/ppc/yuv2rgb_altivec: Fix build in non-VSX environments with Clang

2023-08-18 Thread Brad Smith
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

Re: [FFmpeg-devel] [PATCH] lsws/ppc/yuv2rgb_altivec: Fix build in non-VSX environments with Clang

2023-08-11 Thread Brad Smith
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

[FFmpeg-devel] [PATCH] lsws/ppc/yuv2rgb_altivec: Fix build in non-VSX environments with Clang

2023-08-07 Thread Brad Smith
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

Re: [FFmpeg-devel] [PATCH] configure: use just the pkg-config for sndio

2023-08-07 Thread Brad Smith
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

Re: [FFmpeg-devel] [PATCH] configure: use just the pkg-config for sndio

2023-08-07 Thread Brad Smith
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

Re: [FFmpeg-devel] [PATCH] configure: use just the pkg-config for sndio

2023-07-20 Thread Brad Smith
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

Re: [FFmpeg-devel] [PATCH] configure: use just the pkg-config for sndio

2023-07-07 Thread Brad Smith
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

Re: [FFmpeg-devel] [PATCH] configure: use just the pkg-config for sndio

2023-07-01 Thread Brad Smith
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

Re: [FFmpeg-devel] [PATCH] configure: use just the pkg-config for sndio

2023-06-23 Thread Brad Smith
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

Re: [FFmpeg-devel] [PATCH] configure: use just the pkg-config for sndio

2023-06-23 Thread Brad Smith
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

Re: [FFmpeg-devel] [PATCH] configure: use just the pkg-config for sndio

2023-06-23 Thread Brad Smith
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

Re: [FFmpeg-devel] [PATCH] configure: use just the pkg-config for sndio

2023-06-17 Thread Brad Smith
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

[FFmpeg-devel] [PATCH] configure: use just the pkg-config for sndio

2023-06-16 Thread Brad Smith
--- 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

Re: [FFmpeg-devel] [PATCH] Use proper header for OpenBSD PPC CPU detection

2022-06-23 Thread Brad Smith
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

[FFmpeg-devel] [PATCH] Use proper header for OpenBSD PPC CPU detection

2022-03-02 Thread Brad Smith
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 @@

Re: [FFmpeg-devel] [PATCH] configure: link to libatomic when it's present

2022-01-29 Thread Brad Smith
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 files

Re: [FFmpeg-devel] [PATCH] configure: link to libatomic when it's present

2022-01-28 Thread Brad Smith
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

Re: [FFmpeg-devel] [PATCH] Fix setsockopt IP_MULTICAST_TTL on OpenBSD

2022-01-26 Thread Brad Smith
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

Re: [FFmpeg-devel] [PATCH] Fix setsockopt IP_MULTICAST_TTL on OpenBSD

2022-01-25 Thread Brad Smith
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

Re: [FFmpeg-devel] [PATCH] Fix setsockopt IP_MULTICAST_TTL on OpenBSD

2022-01-24 Thread Brad Smith
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

Re: [FFmpeg-devel] [PATCH] Fix setsockopt IP_MULTICAST_TTL on OpenBSD

2022-01-23 Thread Brad Smith
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

Re: [FFmpeg-devel] [PATCH] configure: link to libatomic when it's present

2022-01-23 Thread Brad Smith
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

Re: [FFmpeg-devel] [PATCH] Fix setsockopt IP_MULTICAST_TTL on OpenBSD

2022-01-22 Thread Brad Smith
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

Re: [FFmpeg-devel] [PATCH] configure: link to libatomic when it's present

2022-01-21 Thread Brad Smith
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

[FFmpeg-devel] [PATCH] Fix setsockopt IP_MULTICAST_TTL on OpenBSD

2022-01-11 Thread Brad Smith
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

Re: [FFmpeg-devel] [PATCH] configure: add initial RISC-V support

2021-08-08 Thread Brad Smith
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

[FFmpeg-devel] [PATCH] configure: add initial RISC-V support

2021-07-25 Thread Brad Smith
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

Re: [FFmpeg-devel] [PATCH] avutil/cpu: Use HW_NCPUONLINE to detect # of online CPUs with OpenBSD

2021-04-19 Thread Brad Smith
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

Re: [FFmpeg-devel] [PATCH] avutil/cpu: Use HW_NCPUONLINE to detect # of online CPUs with OpenBSD

2021-04-16 Thread Brad Smith
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

Re: [FFmpeg-devel] [PATCH] avutil/cpu: Use HW_NCPUONLINE to detect # of online CPUs with OpenBSD

2021-04-10 Thread Brad Smith
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

[FFmpeg-devel] [PATCH] avutil/cpu: Use HW_NCPUONLINE to detect # of online CPUs with OpenBSD

2021-04-03 Thread Brad Smith
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

Re: [FFmpeg-devel] [PATCH] configure: Remove bitrig support

2020-03-04 Thread Brad Smith
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 del

[FFmpeg-devel] [PATCH] configure: Remove bitrig support

2020-02-26 Thread Brad Smith
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

[FFmpeg-devel] [PATCH] configure: Enable section_data_rel_ro for OpenBSD aarch64 / arm

2020-02-23 Thread Brad Smith
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

Re: [FFmpeg-devel] [PATCH] OpenBSD suport

2020-02-16 Thread Brad Smith
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

Re: [FFmpeg-devel] [PATCH] OpenBSD suport

2020-02-16 Thread Brad Smith
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

[FFmpeg-devel] [PATCH] OpenBSD suport

2020-02-15 Thread Brad Smith
- 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

[FFmpeg-devel] [PATCH] v4l2: Make use of the VIDIOC_ENUM_FRAMESIZES ioctl on OpenBSD

2014-10-19 Thread Brad Smith
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