Re: [FFmpeg-devel] [PATCH v5 01/10] cbs_h2645: refact, use cbs_h2645_replace_ps to replace cbs_h26*_replace_*ps

2021-02-14 Thread Nuo Mi
On Mon, Feb 15, 2021 at 3:45 AM Andreas Rheinhardt < andreas.rheinha...@gmail.com> wrote: > Nuo Mi: > > From: Mark Thompson > > > > > > -} > > +static int cbs_h2645_replace_ps(CodedBitstreamContext *ctx, > > +CodedBitstreamUnit *unit) > > +{ > > +typedef struct

[FFmpeg-devel] [PATCH v2] avformat/protocols: fix discard const compile warning

2021-02-14 Thread Nuo Mi
we keep an index in *opaque instead of a pointer. --- libavformat/protocols.c | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/libavformat/protocols.c b/libavformat/protocols.c index 7df18fbb3b..530e78150d 100644 --- a/libavformat/protocols.c +++ b/libavform

Re: [FFmpeg-devel] [PATCH]lavc/pnm: Support decoding gray float pbm images.

2021-02-14 Thread Paul B Mahol
Why you use pbm decoder for probing of pfm files? ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe"

Re: [FFmpeg-devel] [PATCH] avcodec: add initial exr image encoder

2021-02-14 Thread Andreas Rheinhardt
Paul B Mahol: > On Mon, Feb 15, 2021 at 2:29 AM Andreas Rheinhardt < > andreas.rheinha...@gmail.com> wrote: > >> Paul B Mahol: >>> Signed-off-by: Paul B Mahol >>> --- >>> libavcodec/Makefile| 1 + >>> libavcodec/allcodecs.c | 1 + >>> libavcodec/exrenc.c| 209

Re: [FFmpeg-devel] [PATCH] avcodec: add initial exr image encoder

2021-02-14 Thread Paul B Mahol
On Mon, Feb 15, 2021 at 2:29 AM Andreas Rheinhardt < andreas.rheinha...@gmail.com> wrote: > Paul B Mahol: > > Signed-off-by: Paul B Mahol > > --- > > libavcodec/Makefile| 1 + > > libavcodec/allcodecs.c | 1 + > > libavcodec/exrenc.c| 209 + > >

Re: [FFmpeg-devel] [PATCH] avcodec: add initial exr image encoder

2021-02-14 Thread Andreas Rheinhardt
Paul B Mahol: > Signed-off-by: Paul B Mahol > --- > libavcodec/Makefile| 1 + > libavcodec/allcodecs.c | 1 + > libavcodec/exrenc.c| 209 + > libavformat/img2enc.c | 2 +- > 4 files changed, 212 insertions(+), 1 deletion(-) > create mode 100

[FFmpeg-devel] [PATCH] avcodec: add initial exr image encoder

2021-02-14 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavcodec/Makefile| 1 + libavcodec/allcodecs.c | 1 + libavcodec/exrenc.c| 209 + libavformat/img2enc.c | 2 +- 4 files changed, 212 insertions(+), 1 deletion(-) create mode 100644 libavcodec/exrenc.c diff

Re: [FFmpeg-devel] [PATCH]lavc/pnm: Support decoding gray float pbm images.

2021-02-14 Thread Carl Eugen Hoyos
Am Fr., 12. Feb. 2021 um 00:24 Uhr schrieb Paul B Mahol : > > On Fri, Feb 12, 2021 at 12:21 AM Carl Eugen Hoyos > wrote: > > > Am Fr., 12. Feb. 2021 um 00:18 Uhr schrieb Paul B Mahol > >: > > > > > > This is variant of PFM images, PBM image format is only fixed point gray. > > > > Should I change

Re: [FFmpeg-devel] [PATCH]lavfi/vflip: Support Bayer vertical flip

2021-02-14 Thread Carl Eugen Hoyos
Am Mi., 10. Feb. 2021 um 19:50 Uhr schrieb Paul B Mahol : > > Just apply this, it is very unlikely that there are faster ways. Thank you, patch applied. Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo

[FFmpeg-devel] [PATCH] avformat/utils: Add av_assert1 to preclude NULL + len, len != 0

2021-02-14 Thread Andreas Rheinhardt
Such a scenario is undefined behaviour and would also indicate a bug in our code. Suggested-by: James Almer Signed-off-by: Andreas Rheinhardt --- libavformat/utils.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/utils.c b/libavformat/utils.c index cea6d4ca92..652758e98e 100644

Re: [FFmpeg-devel] [PATCH] avformat/utils: Fix undefined NULL + 0

2021-02-14 Thread Andreas Rheinhardt
James Almer: > On 2/14/2021 6:28 PM, Andreas Rheinhardt wrote: >> This is undefined behaviour in C, so use data = len ? data + len : data >> instead if data += len. GCC optimizes the branch away in this case; >> Clang unfortunately doesn't. >> >> Signed-off-by: Andreas Rheinhardt >> --- >> Checkin

Re: [FFmpeg-devel] [PATCH] avformat/utils: Fix undefined NULL + 0

2021-02-14 Thread James Almer
On 2/14/2021 6:28 PM, Andreas Rheinhardt wrote: This is undefined behaviour in C, so use data = len ? data + len : data instead if data += len. GCC optimizes the branch away in this case; Clang unfortunately doesn't. Signed-off-by: Andreas Rheinhardt --- Checking for len != 0 instead of > 0 all

Re: [FFmpeg-devel] [PATCH] avformat/utils: Fix undefined NULL + 0

2021-02-14 Thread Paul B Mahol
probably fine ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-devel] [PATCH] avformat/utils: fix undefined behaviour

2021-02-14 Thread James Almer
On 2/14/2021 6:36 PM, Andreas Rheinhardt wrote: James Almer: On 2/14/2021 6:23 PM, Andreas Rheinhardt wrote: James Almer: On 2/14/2021 6:09 PM, Paul B Mahol wrote: Fixes following report: libavformat/utils.c:1429:14: runtime error: applying zero offset to null pointer How is data NULL here?

Re: [FFmpeg-devel] [PATCH] avformat/utils: fix undefined behaviour

2021-02-14 Thread Andreas Rheinhardt
James Almer: > On 2/14/2021 6:23 PM, Andreas Rheinhardt wrote: >> James Almer: >>> On 2/14/2021 6:09 PM, Paul B Mahol wrote: Fixes following report: libavformat/utils.c:1429:14: runtime error: applying zero offset to null pointer >>> >>> How is data NULL here? That's the input packet

Re: [FFmpeg-devel] [PATCH] avformat/utils: fix undefined behaviour

2021-02-14 Thread James Almer
On 2/14/2021 6:23 PM, Andreas Rheinhardt wrote: James Almer: On 2/14/2021 6:09 PM, Paul B Mahol wrote: Fixes following report: libavformat/utils.c:1429:14: runtime error: applying zero offset to null pointer How is data NULL here? That's the input packet's data pointer, and this loop is acces

[FFmpeg-devel] [PATCH] avformat/utils: Fix undefined NULL + 0

2021-02-14 Thread Andreas Rheinhardt
This is undefined behaviour in C, so use data = len ? data + len : data instead if data += len. GCC optimizes the branch away in this case; Clang unfortunately doesn't. Signed-off-by: Andreas Rheinhardt --- Checking for len != 0 instead of > 0 allows the compiler to optimize the branch away; mayb

Re: [FFmpeg-devel] [PATCH] avformat/utils: fix undefined behaviour

2021-02-14 Thread Andreas Rheinhardt
James Almer: > On 2/14/2021 6:09 PM, Paul B Mahol wrote: >> Fixes following report: >> libavformat/utils.c:1429:14: runtime error: applying zero offset to >> null pointer > > How is data NULL here? That's the input packet's data pointer, and this > loop is accessed only if size is > 0. data == NUL

Re: [FFmpeg-devel] [PATCH] avformat/utils: fix undefined behaviour

2021-02-14 Thread James Almer
On 2/14/2021 6:09 PM, Paul B Mahol wrote: Fixes following report: libavformat/utils.c:1429:14: runtime error: applying zero offset to null pointer How is data NULL here? That's the input packet's data pointer, and this loop is accessed only if size is > 0. data == NULL and size != 0 doesn't s

[FFmpeg-devel] [PATCH] avformat/utils: fix undefined behaviour

2021-02-14 Thread Paul B Mahol
Fixes following report: libavformat/utils.c:1429:14: runtime error: applying zero offset to null pointer SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior libavformat/utils.c:1429:14 Signed-off-by: Paul B Mahol --- libavformat/utils.c | 6 -- 1 file changed, 4 insertions(+), 2 deletio

Re: [FFmpeg-devel] [PATCH] avutils/opt: fix discarded-qualifiers compiler warning

2021-02-14 Thread Chad Fraleigh
On 2/14/2021 10:16 AM, Andreas Rheinhardt wrote: Nuo Mi: On Mon, Feb 15, 2021 at 2:08 AM Andreas Rheinhardt < andreas.rheinha...@gmail.com> wrote: Nuo Mi: --- libavutil/opt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavutil/opt.c b/libavutil/opt.c index 590146b

Re: [FFmpeg-devel] [PATCH v5 01/10] cbs_h2645: refact, use cbs_h2645_replace_ps to replace cbs_h26*_replace_*ps

2021-02-14 Thread Andreas Rheinhardt
Nuo Mi: > From: Mark Thompson > > --- > libavcodec/cbs_h2645.c | 171 +++-- > 1 file changed, 130 insertions(+), 41 deletions(-) > > diff --git a/libavcodec/cbs_h2645.c b/libavcodec/cbs_h2645.c > index 6005d46e0d..36212d1da6 100644 > --- a/libavcodec/cbs_h264

[FFmpeg-devel] [PATCH 2/2] avutil/video_enc_params: Check for truncation before creating buffer

2021-02-14 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavutil/video_enc_params.c | 4 1 file changed, 4 insertions(+) diff --git a/libavutil/video_enc_params.c b/libavutil/video_enc_params.c index b9cdafddbb..635176ab91 100644 --- a/libavutil/video_enc_params.c +++ b/libavutil/video_enc_params.c @@ -63,6

[FFmpeg-devel] [PATCH 1/2] avutil/video_enc_params: Combine overflow checks

2021-02-14 Thread Andreas Rheinhardt
This patch also fixes a -Wtautological-constant-out-of-range-compare warning from Clang and a -Wtype-limits warning from GCC on systems where size_t is 64bits and unsigned 32bits. The reason for this seems to be that variable (whose value derives from sizeof() and can therefore be known at compile-

Re: [FFmpeg-devel] [PATCH] libsvtav1: Add logical_processors option

2021-02-14 Thread Christopher Degawa
> > That said, if you have a general use-case where this is helpful and the > documentation explains what it is doing (and warns about the bad cases) > then maybe? > The main use case we have internally is to able to run multiple instances of SvtAv1EncApp with `--lp 1` without worrying about poten

Re: [FFmpeg-devel] [PATCH] avformat/protocols: fix discarded-qualifiers compiler warning

2021-02-14 Thread Nuo Mi
On Mon, Feb 15, 2021 at 2:04 AM Andreas Rheinhardt < andreas.rheinha...@gmail.com> wrote: > Carl Eugen Hoyos: > > Am So., 14. Feb. 2021 um 18:00 Uhr schrieb Paul B Mahol < > one...@gmail.com>: > >> > >> On Sun, Feb 14, 2021 at 5:58 PM Carl Eugen Hoyos > wrote: > >> > >>> Am So., 14. Feb. 2021 um

Re: [FFmpeg-devel] [PATCH] avcodec/movtextenc: fix compile warning for type-limits

2021-02-14 Thread Andreas Rheinhardt
Nuo Mi: > On Mon, Feb 15, 2021 at 2:02 AM Carl Eugen Hoyos wrote: > >> Am So., 14. Feb. 2021 um 18:57 Uhr schrieb Nuo Mi : >> >> https://github.com/FFmpeg/FFmpeg/blob/21346672270ae723aa774a9c8b0749954a75b3df/libavcodec/movtextenc.c#L110 >>> s->count * sizeof(*s->style_attributes) never >

Re: [FFmpeg-devel] [PATCH] avutils/opt: fix discarded-qualifiers compiler warning

2021-02-14 Thread Andreas Rheinhardt
Nuo Mi: > On Mon, Feb 15, 2021 at 2:08 AM Andreas Rheinhardt < > andreas.rheinha...@gmail.com> wrote: > >> Nuo Mi: >>> --- >>> libavutil/opt.c | 2 +- >>> 1 file changed, 1 insertion(+), 1 deletion(-) >>> >>> diff --git a/libavutil/opt.c b/libavutil/opt.c >>> index 590146b5fb..c554e9c063 100644 >

[FFmpeg-devel] [PATCH] avcodec/indeo3: add support for more dimensions

2021-02-14 Thread Paul B Mahol
Fixes #6581 Signed-off-by: Paul B Mahol --- libavcodec/indeo3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/indeo3.c b/libavcodec/indeo3.c index 75113a7541..5257d983c2 100644 --- a/libavcodec/indeo3.c +++ b/libavcodec/indeo3.c @@ -171,7 +171,7 @@ static av_cold

Re: [FFmpeg-devel] [PATCH] avutils/opt: fix discarded-qualifiers compiler warning

2021-02-14 Thread Nuo Mi
On Mon, Feb 15, 2021 at 2:08 AM Andreas Rheinhardt < andreas.rheinha...@gmail.com> wrote: > Nuo Mi: > > --- > > libavutil/opt.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/libavutil/opt.c b/libavutil/opt.c > > index 590146b5fb..c554e9c063 100644 > > --- a/libavu

Re: [FFmpeg-devel] [PATCH] avcodec/movtextenc: fix compile warning for type-limits

2021-02-14 Thread Nuo Mi
On Mon, Feb 15, 2021 at 2:02 AM Carl Eugen Hoyos wrote: > Am So., 14. Feb. 2021 um 18:57 Uhr schrieb Nuo Mi : > > > > > https://github.com/FFmpeg/FFmpeg/blob/21346672270ae723aa774a9c8b0749954a75b3df/libavcodec/movtextenc.c#L110 > > > > > > s->count * sizeof(*s->style_attributes) never > 32 bits.

Re: [FFmpeg-devel] [PATCH] avutils/opt: fix discarded-qualifiers compiler warning

2021-02-14 Thread Andreas Rheinhardt
Nuo Mi: > --- > libavutil/opt.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavutil/opt.c b/libavutil/opt.c > index 590146b5fb..c554e9c063 100644 > --- a/libavutil/opt.c > +++ b/libavutil/opt.c > @@ -1735,7 +1735,7 @@ const AVClass *av_opt_child_class_iterate(const

Re: [FFmpeg-devel] [PATCH] avformat/protocols: fix discarded-qualifiers compiler warning

2021-02-14 Thread Andreas Rheinhardt
Carl Eugen Hoyos: > Am So., 14. Feb. 2021 um 18:00 Uhr schrieb Paul B Mahol : >> >> On Sun, Feb 14, 2021 at 5:58 PM Carl Eugen Hoyos wrote: >> >>> Am So., 14. Feb. 2021 um 17:53 Uhr schrieb Nuo Mi : --- libavformat/protocols.c | 4 ++-- 1 file changed, 2 insertions(+), 2 delet

Re: [FFmpeg-devel] [PATCH] avcodec/movtextenc: fix compile warning for type-limits

2021-02-14 Thread Carl Eugen Hoyos
Am So., 14. Feb. 2021 um 18:57 Uhr schrieb Nuo Mi : > > https://github.com/FFmpeg/FFmpeg/blob/21346672270ae723aa774a9c8b0749954a75b3df/libavcodec/movtextenc.c#L110 > > > > > s->count * sizeof(*s->style_attributes) never > 32 bits. > > > > This is not correct afaict: > > The relevant line is 369 no

Re: [FFmpeg-devel] [PATCH] avcodec/movtextenc: fix compile warning for type-limits

2021-02-14 Thread Nuo Mi
On Mon, Feb 15, 2021 at 1:39 AM Carl Eugen Hoyos wrote: > Am So., 14. Feb. 2021 um 18:15 Uhr schrieb Nuo Mi : > > > > On Mon, Feb 15, 2021 at 1:05 AM Carl Eugen Hoyos > wrote: > > > > > Am So., 14. Feb. 2021 um 17:30 Uhr schrieb Nuo Mi >: > > > > > > > > On Sun, Feb 14, 2021 at 6:35 PM Anton Kh

Re: [FFmpeg-devel] [PATCH] avformat/protocols: fix discarded-qualifiers compiler warning

2021-02-14 Thread Paul B Mahol
On Sun, Feb 14, 2021 at 6:36 PM Carl Eugen Hoyos wrote: > Am So., 14. Feb. 2021 um 18:00 Uhr schrieb Paul B Mahol >: > > > > On Sun, Feb 14, 2021 at 5:58 PM Carl Eugen Hoyos > wrote: > > > > > Am So., 14. Feb. 2021 um 17:53 Uhr schrieb Nuo Mi >: > > > > > > > > --- > > > > libavformat/protoco

Re: [FFmpeg-devel] [PATCH] avcodec/movtextenc: fix compile warning for type-limits

2021-02-14 Thread Carl Eugen Hoyos
Am So., 14. Feb. 2021 um 18:15 Uhr schrieb Nuo Mi : > > On Mon, Feb 15, 2021 at 1:05 AM Carl Eugen Hoyos wrote: > > > Am So., 14. Feb. 2021 um 17:30 Uhr schrieb Nuo Mi : > > > > > > On Sun, Feb 14, 2021 at 6:35 PM Anton Khirnov wrote: > > > > > > > Quoting Nuo Mi (2021-02-14 07:27:39) > > > > > C

Re: [FFmpeg-devel] [PATCH] avformat/protocols: fix discarded-qualifiers compiler warning

2021-02-14 Thread Carl Eugen Hoyos
Am So., 14. Feb. 2021 um 18:00 Uhr schrieb Paul B Mahol : > > On Sun, Feb 14, 2021 at 5:58 PM Carl Eugen Hoyos wrote: > > > Am So., 14. Feb. 2021 um 17:53 Uhr schrieb Nuo Mi : > > > > > > --- > > > libavformat/protocols.c | 4 ++-- > > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > > >

Re: [FFmpeg-devel] [PATCH] avcodec/movtextenc: fix compile warning for type-limits

2021-02-14 Thread Nuo Mi
On Mon, Feb 15, 2021 at 1:05 AM Carl Eugen Hoyos wrote: > Am So., 14. Feb. 2021 um 17:30 Uhr schrieb Nuo Mi : > > > > On Sun, Feb 14, 2021 at 6:35 PM Anton Khirnov wrote: > > > > > Quoting Nuo Mi (2021-02-14 07:27:39) > > > > CC libavcodec/mpegaudiodec_common.o > > > > libavcodec/movtextenc

Re: [FFmpeg-devel] [PATCH v2] avutils/video_enc_params: fix type-limits compile warning on 64 bits build system

2021-02-14 Thread Carl Eugen Hoyos
Am So., 14. Feb. 2021 um 17:57 Uhr schrieb Nuo Mi : > > On Mon, Feb 15, 2021 at 12:41 AM Nuo Mi wrote: > > > This will fix following compile warning: > > > > libavutil/video_enc_params.c: In function ‘av_video_enc_params_alloc: > > > > > >libavutil/video_enc_params.c:36:19: warning

[FFmpeg-devel] [PATCH v2] avutils/video_enc_params: fix type-limits compile warning on 64 bits build system

2021-02-14 Thread Nuo Mi
This will fix following compile warning: libavutil/video_enc_params.c: In function ‘av_video_enc_params_alloc: libavutil/video_

Re: [FFmpeg-devel] [PATCH] avcodec/movtextenc: fix compile warning for type-limits

2021-02-14 Thread Carl Eugen Hoyos
Am So., 14. Feb. 2021 um 17:30 Uhr schrieb Nuo Mi : > > On Sun, Feb 14, 2021 at 6:35 PM Anton Khirnov wrote: > > > Quoting Nuo Mi (2021-02-14 07:27:39) > > > CC libavcodec/mpegaudiodec_common.o > > > libavcodec/movtextenc.c: In function ‘mov_text_style_start’: > > > libavcodec/movtextenc.c:35

Re: [FFmpeg-devel] [PATCH] avformat/protocols: fix discarded-qualifiers compiler warning

2021-02-14 Thread Paul B Mahol
On Sun, Feb 14, 2021 at 5:58 PM Carl Eugen Hoyos wrote: > Am So., 14. Feb. 2021 um 17:53 Uhr schrieb Nuo Mi : > > > > --- > > libavformat/protocols.c | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > diff --git a/libavformat/protocols.c b/libavformat/protocols.c > > index 7df

Re: [FFmpeg-devel] [PATCH] avformat/protocols: fix discarded-qualifiers compiler warning

2021-02-14 Thread Carl Eugen Hoyos
Am So., 14. Feb. 2021 um 17:53 Uhr schrieb Nuo Mi : > > --- > libavformat/protocols.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/libavformat/protocols.c b/libavformat/protocols.c > index 7df18fbb3b..0b43f66baf 100644 > --- a/libavformat/protocols.c > +++ b/libavfo

Re: [FFmpeg-devel] [PATCH v2] avutils/video_enc_params: fix type-limits compile warning on 64 bits build system

2021-02-14 Thread Nuo Mi
On Mon, Feb 15, 2021 at 12:41 AM Nuo Mi wrote: > This will fix following compile warning: > > libavutil/video_enc_params.c: In function ‘av_video_enc_params_alloc: > > >libavutil/video_enc_params.c:36:19: warning: comparison is > always false due to limited range of data type [-Wt

[FFmpeg-devel] [PATCH] avutils/opt: fix discarded-qualifiers compiler warning

2021-02-14 Thread Nuo Mi
--- libavutil/opt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavutil/opt.c b/libavutil/opt.c index 590146b5fb..c554e9c063 100644 --- a/libavutil/opt.c +++ b/libavutil/opt.c @@ -1735,7 +1735,7 @@ const AVClass *av_opt_child_class_iterate(const AVClass *parent, void **i

Re: [FFmpeg-devel] [PATCH] avcodec/pngdec: use correct frame for none disposition

2021-02-14 Thread Carl Eugen Hoyos
Am So., 14. Feb. 2021 um 17:10 Uhr schrieb Paul B Mahol : > > Signed-off-by: Paul B Mahol > --- > libavcodec/pngdec.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > > diff --git a/libavcodec/pngdec.c b/libavcodec/pngdec.c > index 61642b7cbe..f0e2a0cad4 100644 > --- a/libavcodec/pn

[FFmpeg-devel] [PATCH] avformat/protocols: fix discarded-qualifiers compiler warning

2021-02-14 Thread Nuo Mi
--- libavformat/protocols.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/protocols.c b/libavformat/protocols.c index 7df18fbb3b..0b43f66baf 100644 --- a/libavformat/protocols.c +++ b/libavformat/protocols.c @@ -111,10 +111,10 @@ const AVClass *ff_urlcontext_c

Re: [FFmpeg-devel] [PATCH] avcodec/movtextenc: fix compile warning for type-limits

2021-02-14 Thread Nuo Mi
On Sun, Feb 14, 2021 at 6:35 PM Anton Khirnov wrote: > Quoting Nuo Mi (2021-02-14 07:27:39) > > CC libavcodec/mpegaudiodec_common.o > > libavcodec/movtextenc.c: In function ‘mov_text_style_start’: > > libavcodec/movtextenc.c:358:26: warning: comparison is always false due > to limited range

[FFmpeg-devel] [PATCH] avcodec/pngdec: use correct frame for none disposition

2021-02-14 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavcodec/pngdec.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libavcodec/pngdec.c b/libavcodec/pngdec.c index 61642b7cbe..f0e2a0cad4 100644 --- a/libavcodec/pngdec.c +++ b/libavcodec/pngdec.c @@ -1090,8 +1090,8 @@ static int handle_p_

[FFmpeg-devel] [PATCH 2/2] avfilter/x86/vf_gblur: add postscale SIMD

2021-02-14 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/x86/vf_gblur.asm| 49 + libavfilter/x86/vf_gblur_init.c | 17 ++-- 2 files changed, 63 insertions(+), 3 deletions(-) diff --git a/libavfilter/x86/vf_gblur.asm b/libavfilter/x86/vf_gblur.asm index a25b1659f5..

[FFmpeg-devel] [PATCH 1/2] avfilter/vf_gblur: factor out postscale function

2021-02-14 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/gblur.h| 2 ++ libavfilter/vf_gblur.c | 23 ++- 2 files changed, 16 insertions(+), 9 deletions(-) diff --git a/libavfilter/gblur.h b/libavfilter/gblur.h index 15a8167fe5..dce50671f6 100644 --- a/libavfilter/gblur.h +++ b/libavf

Re: [FFmpeg-devel] [PATCH v3] avcodec/mediacodecdec: Do not abort when H264/HEVC extradata extraction fails

2021-02-14 Thread Jan Ekström
On Sat, Feb 13, 2021 at 4:31 PM Jan Ekström wrote: > > On Sat, Feb 13, 2021 at 12:48 AM sfan5 wrote: > > > > 12.02.21 - 21:43 - Andreas Rheinhardt: > > > sfan5: > > >> Hi, > > >> > > >> > > >> attached v2 patch after discussion on IRC with JEEB (as he already > > >> mentioned). > > >> > > >> Only

Re: [FFmpeg-devel] [PATCH] avcodec/pngdec: fix possible race condition with APNG decoding

2021-02-14 Thread Anton Khirnov
Quoting Paul B Mahol (2021-02-14 11:48:14) > On Sun, Feb 14, 2021 at 11:44 AM Anton Khirnov wrote: > > > Quoting Paul B Mahol (2021-02-14 11:41:20) > > > On Sun, Feb 14, 2021 at 11:21 AM Anton Khirnov > > wrote: > > > > > > > Quoting Paul B Mahol (2021-02-11 22:58:33) > > > > > Fixes #9017 > > >

Re: [FFmpeg-devel] [PATCH] avcodec/pngdec: fix possible race condition with APNG decoding

2021-02-14 Thread Paul B Mahol
On Sun, Feb 14, 2021 at 11:44 AM Anton Khirnov wrote: > Quoting Paul B Mahol (2021-02-14 11:41:20) > > On Sun, Feb 14, 2021 at 11:21 AM Anton Khirnov > wrote: > > > > > Quoting Paul B Mahol (2021-02-11 22:58:33) > > > > Fixes #9017 > > > > > > > > Signed-off-by: Paul B Mahol > > > > --- > > > >

Re: [FFmpeg-devel] [PATCH] avcodec/pngdec: fix possible race condition with APNG decoding

2021-02-14 Thread Anton Khirnov
Quoting Paul B Mahol (2021-02-14 11:41:20) > On Sun, Feb 14, 2021 at 11:21 AM Anton Khirnov wrote: > > > Quoting Paul B Mahol (2021-02-11 22:58:33) > > > Fixes #9017 > > > > > > Signed-off-by: Paul B Mahol > > > --- > > > libavcodec/pngdec.c | 4 ++-- > > > 1 file changed, 2 insertions(+), 2 de

Re: [FFmpeg-devel] [PATCH] avcodec/pngdec: fix possible race condition with APNG decoding

2021-02-14 Thread Paul B Mahol
On Sun, Feb 14, 2021 at 11:21 AM Anton Khirnov wrote: > Quoting Paul B Mahol (2021-02-11 22:58:33) > > Fixes #9017 > > > > Signed-off-by: Paul B Mahol > > --- > > libavcodec/pngdec.c | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > diff --git a/libavcodec/pngdec.c b/libavco

Re: [FFmpeg-devel] [PATCH] avutils/video_enc_params: remove unnecessary check to fix compile warning

2021-02-14 Thread Anton Khirnov
Quoting Nuo Mi (2021-02-14 07:26:56) > This will fix following compile warning: > > libavutil/video_enc_params.c: In function ‘av_video_enc_params_alloc’: > >

Re: [FFmpeg-devel] [PATCH] avcodec/movtextenc: fix compile warning for type-limits

2021-02-14 Thread Anton Khirnov
Quoting Nuo Mi (2021-02-14 07:27:39) > CC libavcodec/mpegaudiodec_common.o > libavcodec/movtextenc.c: In function ‘mov_text_style_start’: > libavcodec/movtextenc.c:358:26: warning: comparison is always false due to > limited range of data type [-Wtype-limits] > 358 | if (s->count +

Re: [FFmpeg-devel] [PATCH v2] avformat/mov: fix timecode with counter mode flag set

2021-02-14 Thread Anton Khirnov
queued, will push in a bit -- Anton Khirnov ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-devel] [PATCH] avcodec/pngdec: fix possible race condition with APNG decoding

2021-02-14 Thread Anton Khirnov
Quoting Paul B Mahol (2021-02-11 22:58:33) > Fixes #9017 > > Signed-off-by: Paul B Mahol > --- > libavcodec/pngdec.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/libavcodec/pngdec.c b/libavcodec/pngdec.c > index 395b86bbe7..61642b7cbe 100644 > --- a/libavcodec/pn