Can lead to printing of nonsensical negative memory usage
---
fftools/ffmpeg.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
index 00ab1cce51..3aa2e12780 100644
--- a/fftools/ffmpeg.c
+++ b/fftools/ffmpeg.c
@@ -309,8 +309,8 @@ const AVI
Found by code review related to coverity
Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer
---
libavformat/avio.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/avio.h b/libavformat/avio.h
index ebf611187dc..3be91e4b8a7 100644
--- a/libavformat
---
libavcodec/defs.h| 1 +
libavcodec/videotoolboxenc.c | 16 ++--
2 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/libavcodec/defs.h b/libavcodec/defs.h
index 7ddfdcad0b..d7bf5aa00f 100644
--- a/libavcodec/defs.h
+++ b/libavcodec/defs.h
@@ -160,6 +160,7 @@
On Wed, Jul 10, 2024 at 5:14 PM Anton Khirnov wrote:
> Quoting Nuo Mi (2024-07-09 13:36:09)
> > On Tue, Jul 9, 2024 at 6:35 AM Timo Rothenpieler
> > wrote:
> >
> > > On 08.07.2024 17:32, Zhao Zhili wrote:
> > > >
> > > >
> > > >> On Jul 8, 2024, at 22:07, Timo Rothenpieler
> > > wrote:
> > > >>
On Thu, Jul 11, 2024 at 8:21 PM Nuo Mi wrote:
>
>
> On Wed, Jul 10, 2024 at 5:14 PM Anton Khirnov wrote:
>
>> Quoting Nuo Mi (2024-07-09 13:36:09)
>> > On Tue, Jul 9, 2024 at 6:35 AM Timo Rothenpieler > >
>> > wrote:
>> >
>> > > On 08.07.2024 17:32, Zhao Zhili wrote:
>> > > >
>> > > >
>> > > >>
applied, thx
On Mon, Jul 8, 2024 at 9:24 PM Nuo Mi wrote:
> LGTM
> thank you, Zhili.
>
> On Mon, Jul 8, 2024 at 3:40 PM Zhao Zhili wrote:
>
>> From: Zhao Zhili
>>
>> ---
>> libavcodec/vvc/thread.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/libavcodec/vvc/threa
On Mon, Jul 1, 2024 at 10:13 PM Nuo Mi wrote:
>
>
> On Mon, Jul 1, 2024 at 10:00 PM Zhao Zhili wrote:
>
>>
>>
>> > On Jul 1, 2024, at 21:14, Nuo Mi wrote:
>> >
>> > On Sun, Jun 30, 2024 at 6:45 PM Zhao Zhili
>> wrote:
>> >
>> >> From: Zhao Zhili
>> >>
>> >> ---
>> >> The code can be simplifie
On 7/8/2024 10:55 PM, James Almer wrote:
Addresses part of ticket #7437.
Signed-off-by: James Almer
---
libavformat/mov.c | 78 +
tests/ref/fate/aic | 32 +-
tests/ref/fate/prores-transparency | 4 +-
tests/re
On 7/9/2024 2:21 PM, James Almer wrote:
It's meant to override any codec specific (but container level) information,
but its position is not guaranteed, so apply the values after the entire trak
structure has been parsed.
Also, replace the ugly roundabout int -> double -> int method to set SAR fr
On 7/9/2024 5:32 PM, James Almer wrote:
Signed-off-by: James Almer
---
libavfilter/vf_crop.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/vf_crop.c b/libavfilter/vf_crop.c
index 6361209941..d4966323f5 100644
--- a/libavfilter/vf_crop.c
+++ b/libavfilter/vf_c
---
libavcodec/videotoolboxenc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/videotoolboxenc.c b/libavcodec/videotoolboxenc.c
index 8e2a66ee4a..e9c4482b47 100644
--- a/libavcodec/videotoolboxenc.c
+++ b/libavcodec/videotoolboxenc.c
@@ -2827,6 +2827,7 @@ static const enum AVPixel
On Wed, 10 Jul 2024, James Almer wrote:
ffmpeg | branch: master | James Almer | Wed Jul 10 13:00:20
2024 -0300| [bd1bcb07e0f29c135103a402d71b343a09ad1690] | committer: James Almer
x86/intreadwrite: use intrinsics instead of inline asm for AV_COPY128
This has the benefit of removing any SSE -
On 7/11/2024 10:08 AM, Martin Storsjö wrote:
On Wed, 10 Jul 2024, James Almer wrote:
ffmpeg | branch: master | James Almer | Wed Jul 10
13:00:20 2024 -0300| [bd1bcb07e0f29c135103a402d71b343a09ad1690] |
committer: James Almer
x86/intreadwrite: use intrinsics instead of inline asm for AV_COPY
On Thu, 11 Jul 2024, James Almer wrote:
On 7/11/2024 10:08 AM, Martin Storsjö wrote:
On Wed, 10 Jul 2024, James Almer wrote:
ffmpeg | branch: master | James Almer | Wed Jul 10
13:00:20 2024 -0300| [bd1bcb07e0f29c135103a402d71b343a09ad1690] |
committer: James Almer
x86/intreadwrite: use in
On Thu, 11 Jul 2024, Martin Storsjö wrote:
On Thu, 11 Jul 2024, James Almer wrote:
On 7/11/2024 10:08 AM, Martin Storsjö wrote:
On Wed, 10 Jul 2024, James Almer wrote:
ffmpeg | branch: master | James Almer | Wed Jul
10 13:00:20 2024 -0300| [bd1bcb07e0f29c135103a402d71b343a09ad1690] |
comm
Should make strict compilers happy.
Also, make AV_COPY128 use integer operations while at it.
Signed-off-by: James Almer
---
libavutil/x86/intreadwrite.h | 15 ---
1 file changed, 4 insertions(+), 11 deletions(-)
diff --git a/libavutil/x86/intreadwrite.h b/libavutil/x86/intreadwrite
On 7/11/2024 10:54 AM, Martin Storsjö wrote:
On Thu, 11 Jul 2024, Martin Storsjö wrote:
On Thu, 11 Jul 2024, James Almer wrote:
On 7/11/2024 10:08 AM, Martin Storsjö wrote:
On Wed, 10 Jul 2024, James Almer wrote:
ffmpeg | branch: master | James Almer | Wed Jul
10 13:00:20 2024 -0300| [bd1
Unlike the 8-bit version, we need two iterations to process this within
128-bit vectors. This adds some extra complexity for pointer arithmetic
and counting down which is unnecessary in the 8-bit variant.
Accordingly the gain relative to C are just slight better than half as
good with 128-bit vect
On Thu, 11 Jul 2024, James Almer wrote:
On 7/11/2024 10:54 AM, Martin Storsjö wrote:
On Thu, 11 Jul 2024, Martin Storsjö wrote:
On Thu, 11 Jul 2024, James Almer wrote:
On 7/11/2024 10:08 AM, Martin Storsjö wrote:
On Wed, 10 Jul 2024, James Almer wrote:
ffmpeg | branch: master | James Alme
On Thu, 11 Jul 2024, James Almer wrote:
Should make strict compilers happy.
Also, make AV_COPY128 use integer operations while at it.
Signed-off-by: James Almer
---
libavutil/x86/intreadwrite.h | 15 ---
1 file changed, 4 insertions(+), 11 deletions(-)
diff --git a/libavutil/x86/in
On 7/11/2024 6:00 PM, Martin Storsjö wrote:
On Thu, 11 Jul 2024, James Almer wrote:
On 7/11/2024 10:54 AM, Martin Storsjö wrote:
On Thu, 11 Jul 2024, Martin Storsjö wrote:
On Thu, 11 Jul 2024, James Almer wrote:
On 7/11/2024 10:08 AM, Martin Storsjö wrote:
On Wed, 10 Jul 2024, James Almer
On Thu, Jul 11, 2024 at 12:50 AM Michael Niedermayer
wrote:
> Fixes: CID1559901 Resource leak
>
> Sponsored-by: Sovereign Tech Fund
> Signed-off-by: Michael Niedermayer
> ---
> libavfilter/vf_tiltandshift.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/libavfilter/
We subtract 24 so it must be at least 24
Fixes: CID1604482 Overflowed constant
Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer
---
libavformat/asfdec_o.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libavformat/asfdec_o.c b/libavformat/asfdec_o.c
index dfe448e9f7e
Fixes: CID1604503 Overflowed constant
Fixes: CID1604566 Overflowed constant
Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer
---
libavformat/bintext.c | 26 --
1 file changed, 20 insertions(+), 6 deletions(-)
diff --git a/libavformat/bintext.c b/libav
Fixes: CID1609624 Unused value
Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer
---
libavformat/hlsenc.c | 9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c
index 274de00f9a9..6d6ede1b6ff 100644
--- a/libavf
Fixes: CID1604419 Overflowed constant
Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer
---
libavformat/hnm.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/libavformat/hnm.c b/libavformat/hnm.c
index 42efaaa3e8b..425dadc5e31 100644
--- a/libavformat/hn
The length is 64bit that is passed into the functions.
Alternatively the values can be checked before cast
Fixes: CID1604572 Overflowed return value
Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer
---
libavformat/matroskadec.c | 6 +++---
1 file changed, 3 insertions(+), 3
Fixes: CID1220824 Overflowed constant
Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer
---
libavformat/mm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/mm.c b/libavformat/mm.c
index 23c025d8525..e377ed4fbb9 100644
--- a/libavformat/mm.c
+++
Fixes: CID1604506 Overflowed constant
Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer
---
libavformat/sapdec.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libavformat/sapdec.c b/libavformat/sapdec.c
index 357c0dd5147..d5b5d71c020 100644
--- a/libavformat/sapdec.c
Fixes: CID1604592 Overflowed constant
Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer
---
libavformat/sauce.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/libavformat/sauce.c b/libavformat/sauce.c
index 150be4705b5..55d288d3aea 100644
--- a/libav
We assign a 64bit variable to it before checking
Fixes: CID1604544 Overflowed integer argument
Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer
---
libavformat/mov.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/libavformat/mov.c b/libavformat/mov.c
i
Fixes: half of CID1258461 Overflowed constant
Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer
---
libavformat/siff.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/libavformat/siff.c b/libavformat/siff.c
index 5aad03d870f..b33746d51d2 100644
--- a/li
Fixes: CID1608710 Improper use of negative value
Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer
---
libavformat/mp3dec.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/libavformat/mp3dec.c b/libavformat/mp3dec.c
index f421e03926f..6443b80596c 100644
-
Fixes: CID1220824 Overflowed constant
Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer
---
libavformat/tty.c | 13 -
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/libavformat/tty.c b/libavformat/tty.c
index 95b72005278..c3956ccf34e 100644
--- a/lib
May help CID1604560 Overflowed integer argument
Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer
---
libavformat/ty.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/ty.c b/libavformat/ty.c
index ac3b9071fca..f524b74badc 100644
--- a/libavforma
Fixes: CID1608714 Division or modulo by float zero
Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer
---
libavformat/mp3dec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/mp3dec.c b/libavformat/mp3dec.c
index 6443b80596c..0029ba63aa3 100644
-
not sure this is possible
Fixes: CID1604446 Overflowed constant
Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer
---
libavformat/webpenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/webpenc.c b/libavformat/webpenc.c
index 1c5b93e0abf..ce0
Fixes: CID1604527 Overflowed constant
Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer
---
libavformat/nsvdec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/nsvdec.c b/libavformat/nsvdec.c
index 3b8f812aa5e..dd01765d7d2 100644
--- a/libavfor
Fixes: CID1604489 Overflowed constant
Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer
---
libavformat/xmv.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavformat/xmv.c b/libavformat/xmv.c
index e103b2368ea..ed59f7b85bd 100644
--- a/libavformat/xmv.c
+++ b/libavfo
Fixes: CID1604498 Structurally dead code
Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer
---
libavutil/avsscanf.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/libavutil/avsscanf.c b/libavutil/avsscanf.c
index 7061e6d9651..94f7710043e 100644
--- a/libavutil/avsscanf.c
+
Fixes: CID1604487 Unchecked return value
Fixes: CID1604494 Unchecked return value
Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer
---
libavutil/buffer.c | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/libavutil/buffer.c b/libavutil/buffer.c
ind
Fixes: CID1604586 Overflowed constant
Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer
---
libavutil/frame.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavutil/frame.c b/libavutil/frame.c
index 0775e2abd9d..673a9afb3bf 100644
--- a/libavutil/frame.c
Fixes: CID1604383 Unchecked return value
Fixes: CID1604439 Unchecked return value
Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer
---
libavutil/slicethread.c | 30 ++
1 file changed, 26 insertions(+), 4 deletions(-)
diff --git a/libavutil/sliceth
Fixes: CID1458043 Unchecked return value
Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer
---
libavfilter/vf_xfade.c | 15 ---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/libavfilter/vf_xfade.c b/libavfilter/vf_xfade.c
index e67a917d14f..e971177
Same as the framecrc muxer. This will allow callers to analize changes in these
values between filters within a list.
Signed-off-by: James Almer
---
libavcodec/bsf/showinfo.c | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/libavcodec/bsf/showinfo.c b/libavcodec/bsf/
Signed-off-by: James Almer
---
libavcodec/bsf/showinfo.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/libavcodec/bsf/showinfo.c b/libavcodec/bsf/showinfo.c
index 0899263545..57da3fc73c 100644
--- a/libavcodec/bsf/showinfo.c
+++ b/libavcodec/bsf/showinfo.c
@@ -23,6 +23,
Hi:
I found it's different actions with h264 and hevc when decoded. I try
to make it same as blow.
But I have no idea about the code:
*libavcode/h264dec.c:609 *
*AV_RB32(buf+5) > (unsigned)buf_size*
I tried to find the answer in specs, but I failed. So I am not sure that it
is valid in he
Ping to apply on this set of 3, so I can send seeking and additional
cleanup set (as a collection). Thank you!
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or ema
I checked that the patch results in FFMPEG decoding without error the
additional conformance codestreams at [1].
[1] https://ffmpeg.org/pipermail/ffmpeg-devel/2024-June/329727.html
@Osamu, did you check if the decoded images fall within the tolerances
specified in 15444-4?
There is an errant spa
> + if (s->in_tile_headers == 1 && s->isHT && (!s-
> >Ccap15_b11))
> + av_log(s->avctx, AV_LOG_WARNING, "COD marker is
> found in HOMOGENEOUS HT set\n");
How bad is this and the other markers being present in this case?
Should we perhaps error out?
/Tomas
___
50 matches
Mail list logo