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 +++

Re: [FFmpeg-devel] [PATCH 2/2] avformat/img2dec: add GEM Raster image demuxer

2022-01-22 Thread Peter Ross
On Sun, Jan 23, 2022 at 01:01:58AM +0100, Carl Eugen Hoyos wrote: > Am Fr., 17. Sept. 2021 um 10:39 Uhr schrieb Peter Ross : > > > +static int gem_probe(const AVProbeData *p) > > +{ > > +const uint8_t *b = p->buf; > > +int ret = 0; > > +if ( AV_RB16(b ) >= 1 && AV_RB16(b) <= 3

[FFmpeg-devel] [PATCH 3/3] avformat/dashdec: avoid calling strlen multiple times

2022-01-22 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/dashdec.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c index 0d21989..211d77f 100644 --- a/libavformat/dashdec.c +++ b/libavformat/dashdec.c @@ -403,6 +403,7 @@

[FFmpeg-devel] [PATCH 2/3] avformat/rtpdec: return value check for init_get_bits()

2022-01-22 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/rtpdec_h261.c | 4 +++- libavformat/rtpdec_h263_rfc2190.c | 4 +++- libavformat/rtpdec_latm.c | 4 +++- libavformat/rtpdec_mpeg4.c| 5 - libavformat/rtpdec_qt.c | 4 +++- 5 files changed, 16

[FFmpeg-devel] [PATCH 1/3] avformat/rtpdec: Fix negative missed packets in warning message

2022-01-22 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/rtpdec.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/libavformat/rtpdec.c b/libavformat/rtpdec.c index 20fe2b8..f285a41 100644 --- a/libavformat/rtpdec.c +++ b/libavformat/rtpdec.c @@ -835,9 +835,14 @@

Re: [FFmpeg-devel] [PATCH v1 1/9] lavu/pix_fmt: add P012 pixel format

2022-01-22 Thread Carl Eugen Hoyos
Am Fr., 21. Jan. 2022 um 06:56 Uhr schrieb Xiang, Haihao : > > > -Original Message- > > From: ffmpeg-devel On Behalf Of Xiang, > > Haihao > > Sent: Tuesday, June 30, 2020 15:34 > > To: ffmpeg-devel@ffmpeg.org > > Subject: Re: [FFmpeg-devel] [PATCH v1 1/9] lavu/pix_fmt: add P012 pixel > >

Re: [FFmpeg-devel] [PATCH 2/2] avformat/img2dec: add GEM Raster image demuxer

2022-01-22 Thread Carl Eugen Hoyos
Am Fr., 17. Sept. 2021 um 10:39 Uhr schrieb Peter Ross : > +static int gem_probe(const AVProbeData *p) > +{ > +const uint8_t *b = p->buf; > +int ret = 0; > +if ( AV_RB16(b ) >= 1 && AV_RB16(b) <= 3 && > + AV_RB16(b + 2) >= 8 && AV_RB16(b + 2) <= 779 && > +

Re: [FFmpeg-devel] [PATCH] libavutil/tests/md5: Avoid warnings

2022-01-22 Thread Carl Eugen Hoyos
Am Fr., 21. Jan. 2022 um 02:18 Uhr schrieb softworkz : > > From: softworkz > > Those are always showing up on Patchwork > when FATE tests are failing, covering > some possibly more useful information. > > Signed-off-by: softworkz > --- > libavutil/tests/md5: Avoid warnings > > Those are

[FFmpeg-devel] [PATCH] configure: Fix Microsoft tools detection

2022-01-22 Thread Kacper Michajłow
LLVM tools print installation path upon execution. If one uses LLVM tools bundled with Microsoft Visual Studio installation, they would be incorrectly detected as Microsoft's ones. Signed-off-by: Kacper Michajłow --- configure | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff

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

2022-01-22 Thread Hendrik Leppkes
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. > >> > >> Fixes #9275 > >> --- >