Quoting Michael Niedermayer (2024-03-23 00:08:16)
> Fixes: Timeout
> Fixes:
> 67044/clusterfuzz-testcase-minimized-ffmpeg_dem_CAF_fuzzer-5791144363491328
>
> Found-by: continuous fuzzing process
> https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
> Signed-off-by: Michael Niedermayer
Hi James,
>From: ffmpeg-devel On Behalf Of James
>Almer
>Sent: Thursday, March 21, 2024 8:29 PM
>To: ffmpeg-devel@ffmpeg.org
>Subject: [FFmpeg-devel] [PATCH] avcodec/hevc_ps: allocate only the required
>HEVCHdrParams within a VPS
>
>Signed-off-by: James Almer
>---
> libavcodec/hevc_ps.c | 14 +
Quoting James Almer (2024-03-25 22:13:25)
> On 3/25/2024 6:02 PM, Andreas Rheinhardt wrote:
> > James Almer:
> >> I don't mind a function like that being added to simplify future
> >> additions, but this API is orthogonal to the frame side data one. It's
> >> also used in packets, for example, and
> >> -Original Message-
> >> From: ffmpeg-devel On Behalf Of
> >> wenbin.chen-at-intel@ffmpeg.org
> >> Sent: Monday, March 25, 2024 10:15 AM
> >> To: ffmpeg-devel@ffmpeg.org
> >> Subject: [FFmpeg-devel] [PATCH v2] doc: Add libtoch backend option to
> >> dnn_processing
>
> Typo in comm
Quoting James Almer (2024-03-25 21:05:57)
> +/**
> + * Remove existing entries before adding new ones.
> + */
> #define AV_FRAME_SIDE_DATA_FLAG_UNIQUE (1 << 0)
> +/**
> + * Don't add a new entry if another of the same type exists.
> + */
> +#define AV_FRAME_SIDE_DATA_FLAG_DONT_APPEND (1 << 1)
I d
Hi,
Le 27 mars 2024 04:37:02 GMT+02:00, flow gg a écrit :
>Okay, changed to use const, updated at this GitHub link (
>https://github.com/hleft/FFmpeg/tree/vp8vp9)
OK, that might be easier for *me* to merge but the rule here is to post via ML
for code review by anybody.
_
Alright, updated it in this reply
Rémi Denis-Courmont 于2024年3月27日周三 16:18写道:
> Hi,
>
> Le 27 mars 2024 04:37:02 GMT+02:00, flow gg a
> écrit :
> >Okay, changed to use const, updated at this GitHub link (
> >https://github.com/hleft/FFmpeg/tree/vp8vp9)
>
> OK, that might be easier for *me* to m
This message has been marked as Public on 03/27/2024 08:53Z.
On Tuesday, March 26, 2024 7:26 PM Rémi Denis-Courmont wrote:
> Both patches -1 for same reasons as before and that's unnecessary,
> functionally incorrect and potentially racy, enumeration of local interfaces.
Enumeration of interfac
Quoting Michael Niedermayer (2024-03-26 01:11:48)
> Fixes:
> 62276/clusterfuzz-testcase-minimized-ffmpeg_dem_W64_fuzzer-4704044498944000
> Fixes: signed integer overflow: 520464 * 8224 cannot be represented in type
> 'int'
>
> Found-by: continuous fuzzing process
> https://github.com/google/oss
mån 2024-03-25 klockan 21:04 +0100 skrev Michael Niedermayer:
> On Mon, Mar 25, 2024 at 08:13:13PM +0100, Michael Niedermayer wrote:
> > On Thu, Mar 21, 2024 at 04:07:14PM +0100, Tomas Härdin wrote:
> > > ons 2024-03-20 klockan 21:35 +0100 skrev Tomas Härdin:
> > > > ons 2024-03-20 klockan 14:12 +0
Even in cases where the task failed to start due to pthread_create()
failing.
---
fftools/ffmpeg_sched.c | 68 +++---
1 file changed, 44 insertions(+), 24 deletions(-)
diff --git a/fftools/ffmpeg_sched.c b/fftools/ffmpeg_sched.c
index 67c32fb5a0..ee3af45908 100
Will allow avoiding forward declarations in following commits.
---
fftools/ffmpeg_sched.c | 138 -
1 file changed, 69 insertions(+), 69 deletions(-)
diff --git a/fftools/ffmpeg_sched.c b/fftools/ffmpeg_sched.c
index ec88017e21..67c32fb5a0 100644
--- a/fftoo
It is highly unsafe, as AVCodecContext contains many allocated fields.
Almost everything needed by worker threads should be covered by
routing through AVCodecParameters and av_opt_copy(), except for a few
fields that are copied manually.
avcodec_free_context() can now be used for per-thread contex
It is unused internally and has been marked as deprecated a long time
ago.
---
libavcodec/packet.h| 2 ++
libavcodec/version_major.h | 1 +
2 files changed, 3 insertions(+)
diff --git a/libavcodec/packet.h b/libavcodec/packet.h
index b0ba3baea2..a9a41576da 100644
--- a/libavcodec/packet.h
For consistency with its API header packet.h.
---
libavcodec/Makefile | 2 +-
libavcodec/{avpacket.c => packet.c} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
rename libavcodec/{avpacket.c => packet.c} (100%)
diff --git a/libavcodec/Makefile b/libavcodec/Makefile
index 9ce
Depending on the filters used the filtergraph can produce trailing data
after feeding it the last input frame. Update the example to include the
necessary loop for draining the filtergrap.
Signed-off-by: Tobias Rapp
---
doc/examples/decode_filter_audio.c | 19 +++
1 file changed,
Depending on the filters used the filtergraph can produce trailing data
after feeding it the last input frame. Update the example to include the
necessary loop for draining the filtergrap.
Signed-off-by: Tobias Rapp
---
doc/examples/decode_filter_video.c | 19 +++
1 file changed,
>>On Fri, Mar 22, 2024 at 11:35 AM Anton Khirnov wrote:
>>Why this unnecessary complication? Just use two ints, or two uint8_t's
>>if you really need to save space, though that also seems unncessary as
>>this struct is allocated rarely and usually does not live long.
https://github.com/intel/libv
On date Tuesday 2024-03-26 15:17:49 -0500, Marth64 wrote:
> Recent advice plus my own experience agree that this pattern
> is error-prone. Instead, set `ret` in its own line and do
> the error validation after. Also, explicitly return 0 on success
> in dvdvideo_chapters_setup_preindex()
Not super
On date Tuesday 2024-03-26 14:25:37 -0500, Mark Samuelson wrote:
> ---
> libavcodec/mf_utils.h | 5 +
> libavcodec/mfenc.c| 19 +++
> 2 files changed, 24 insertions(+)
>
> diff --git a/libavcodec/mf_utils.h b/libavcodec/mf_utils.h
> index aebfb9ad21..387c005f38 100644
> -
On date Tuesday 2024-03-26 23:07:53 +, ffmpeg-devel Mailing List wrote:
> Signed-off-by: Antoine Soulier
> ---
> configure | 6 ++
> 1 file changed, 6 insertions(+)
still LGTM but should be merged with the encoder/decoder patch
[...]
___
ffmpe
Marth64:
> Recent advice plus my own experience agree that this pattern
> is error-prone. Instead, set `ret` in its own line and do
> the error validation after. Also, explicitly return 0 on success
> in dvdvideo_chapters_setup_preindex()
>
> Signed-off-by: Marth64
> ---
> libavformat/dvdvideode
On date Tuesday 2024-03-26 23:07:54 +, ffmpeg-devel Mailing List wrote:
> The LC3 audio codec is the default codec of Bluetooth LE audio.
> This is a wrapper over the liblc3 library (https://github.com/google/liblc3).
>
> Signed-off-by: Antoine Soulier
> ---
> libavcodec/Makefile | 2 +
On 3/27/2024 5:05 AM, Anton Khirnov wrote:
Quoting James Almer (2024-03-25 21:05:57)
+/**
+ * Remove existing entries before adding new ones.
+ */
#define AV_FRAME_SIDE_DATA_FLAG_UNIQUE (1 << 0)
+/**
+ * Don't add a new entry if another of the same type exists.
+ */
+#define AV_FRAME_SIDE_DATA
On date Tuesday 2024-03-26 23:07:55 +, ffmpeg-devel Mailing List wrote:
> A file format is described in Bluetooth SIG LC3 and ETSI TS 103 634, for
> test purpose. This is the format implemented here.
>
> Signed-off-by: Antoine Soulier
> ---
> libavformat/Makefile | 2 +
> libavformat/a
On 3/27/2024 8:49 AM, James Almer wrote:
On 3/27/2024 5:05 AM, Anton Khirnov wrote:
Quoting James Almer (2024-03-25 21:05:57)
+/**
+ * Remove existing entries before adding new ones.
+ */
#define AV_FRAME_SIDE_DATA_FLAG_UNIQUE (1 << 0)
+/**
+ * Don't add a new entry if another of the same typ
Demuxer does not support seeking at all.
___
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".
On date Wednesday 2024-03-27 11:51:30 +0100, Tobias Rapp wrote:
> Depending on the filters used the filtergraph can produce trailing data
> after feeding it the last input frame. Update the example to include the
> necessary loop for draining the filtergrap.
>
> Signed-off-by: Tobias Rapp
> ---
>
On date Tuesday 2024-03-26 23:07:56 +, ffmpeg-devel Mailing List wrote:
> Signed-off-by: Antoine Soulier
> ---
> doc/encoders.texi | 57 +++
> doc/general_contents.texi | 11 +++-
> doc/muxers.texi | 6 +
> 3 files changed, 73 ins
On date Wednesday 2024-03-27 11:51:31 +0100, Tobias Rapp wrote:
> Depending on the filters used the filtergraph can produce trailing data
> after feeding it the last input frame. Update the example to include the
> necessary loop for draining the filtergrap.
>
> Signed-off-by: Tobias Rapp
> ---
>
On date Wednesday 2024-03-27 12:32:11 +0100, Andreas Rheinhardt wrote:
> Marth64:
> > Recent advice plus my own experience agree that this pattern
> > is error-prone. Instead, set `ret` in its own line and do
> > the error validation after. Also, explicitly return 0 on success
> > in dvdvideo_chapt
Quoting Stefano Sabatini (2024-03-27 12:27:24)
> it's increasing the line count and therefore decreasing readability
I don't think this holds in general.
--
Anton Khirnov
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/
Quoting James Almer (2024-03-27 12:49:49)
> > * T does have a MULTI prop, then user decides whether to replace,
> >add, or do nothing
> >
> > I think the default behaviour for MULTI types should be adding, and the
> > other two cases should be covered by the user explicitly.
> >
> >
On 3/27/2024 4:41 AM, Anton Khirnov wrote:
Quoting James Almer (2024-03-25 22:13:25)
On 3/25/2024 6:02 PM, Andreas Rheinhardt wrote:
James Almer:
I don't mind a function like that being added to simplify future
additions, but this API is orthogonal to the frame side data one. It's
also used in
Quoting James Almer (2024-03-27 13:35:35)
> On 3/27/2024 4:41 AM, Anton Khirnov wrote:
> > Quoting James Almer (2024-03-25 22:13:25)
> >> On 3/25/2024 6:02 PM, Andreas Rheinhardt wrote:
> >>> James Almer:
> I don't mind a function like that being added to simplify future
> additions, but
On 3/27/2024 9:40 AM, Anton Khirnov wrote:
Quoting James Almer (2024-03-27 13:35:35)
On 3/27/2024 4:41 AM, Anton Khirnov wrote:
Quoting James Almer (2024-03-25 22:13:25)
On 3/25/2024 6:02 PM, Andreas Rheinhardt wrote:
James Almer:
I don't mind a function like that being added to simplify fut
On 27/03/2024 13:06, Stefano Sabatini wrote:
On date Wednesday 2024-03-27 11:51:31 +0100, Tobias Rapp wrote:
Depending on the filters used the filtergraph can produce trailing data
after feeding it the last input frame. Update the example to include the
necessary loop for draining the filtergra
Quoting Tobias Rapp (2024-03-27 13:46:40)
> On 27/03/2024 13:06, Stefano Sabatini wrote:
>
> > On date Wednesday 2024-03-27 11:51:31 +0100, Tobias Rapp wrote:
> >> Depending on the filters used the filtergraph can produce trailing data
> >> after feeding it the last input frame. Update the example
Changes since v1:
add v2-0004-avcodec-vvcdec-fix-uninitialized-last-element-of-.patch to address
the clang-usan and clang-asan failures reported by Frank
Frank Plowman (2):
avcodec/vvcdec: fix uninitialized last element of xxx_bd and
ctb_to_xxx_bd arrays
avcodec/vvcdec: support rectangular
we have to infer sh_collocated_from_l0_flag and sh_collocated_ref_idx from
picture head if pps_rpl_info_in_ph_flag is true
---
libavcodec/cbs_h266_syntax_template.c | 32 +--
1 file changed, 20 insertions(+), 12 deletions(-)
diff --git a/libavcodec/cbs_h266_syntax_templat
see "8.3.6 Decoding process for collocated picture and no backward prediction"
---
libavcodec/vvc/vvc_mvs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/vvc/vvc_mvs.c b/libavcodec/vvc/vvc_mvs.c
index 6398fd3571..cf92202b5b 100644
--- a/libavcodec/vvc/vvc_mvs.c
+++
From: Frank Plowman
see "6.5.1 CTB raster scanning, tile scanning, and subpicture scanning
processes"
Co-authored-by: Nuo Mi
---
libavcodec/vvc/vvc_ps.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libavcodec/vvc/vvc_ps.c b/libavcodec/vvc/vvc_ps.c
index 7972803da6..3e7c0b4f5b 100644
From: Frank Plowman
Co-authored-by: Nuo Mi
---
libavcodec/cbs_h266_syntax_template.c | 5 +-
libavcodec/vvc/vvc_ps.c | 93 +--
2 files changed, 91 insertions(+), 7 deletions(-)
diff --git a/libavcodec/cbs_h266_syntax_template.c
b/libavcodec/cbs_h266_synt
---
libavcodec/cbs_h266.h | 10 +-
libavcodec/vvc/vvc_ps.h | 8
2 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/libavcodec/cbs_h266.h b/libavcodec/cbs_h266.h
index 73d94157d4..21b9a4196c 100644
--- a/libavcodec/cbs_h266.h
+++ b/libavcodec/cbs_h266.h
@@ -588,11 +5
---
libavcodec/vvc/vvc_ctu.c | 4
libavcodec/vvc/vvc_ctu.h | 6 --
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/libavcodec/vvc/vvc_ctu.c b/libavcodec/vvc/vvc_ctu.c
index e48ffda938..05c3e04b83 100644
--- a/libavcodec/vvc/vvc_ctu.c
+++ b/libavcodec/vvc/vvc_ctu.c
@@ -2493,
---
libavcodec/vvc/vvc_ps.c | 19 +++
libavcodec/vvc/vvc_ps.h | 4
2 files changed, 23 insertions(+)
diff --git a/libavcodec/vvc/vvc_ps.c b/libavcodec/vvc/vvc_ps.c
index 6b5aa31ccd..556135fee2 100644
--- a/libavcodec/vvc/vvc_ps.c
+++ b/libavcodec/vvc/vvc_ps.c
@@ -514,6 +514,
---
libavcodec/vvc/vvc_ctu.c| 8 ++--
libavcodec/vvc/vvc_filter.c | 96 ++---
libavcodec/vvc/vvc_ps.c | 38 +++
3 files changed, 71 insertions(+), 71 deletions(-)
diff --git a/libavcodec/vvc/vvc_ctu.c b/libavcodec/vvc/vvc_ctu.c
index 05c3e04b83
---
libavcodec/vvc/vvc_filter.c | 66 +++--
1 file changed, 26 insertions(+), 40 deletions(-)
diff --git a/libavcodec/vvc/vvc_filter.c b/libavcodec/vvc/vvc_filter.c
index 10bd57e078..11972bde41 100644
--- a/libavcodec/vvc/vvc_filter.c
+++ b/libavcodec/vvc/vvc_filte
---
libavcodec/vvc/vvc_filter.c | 52 +
libavcodec/vvc/vvc_filter.h | 6 +++--
libavcodec/vvc/vvc_thread.c | 4 +--
3 files changed, 35 insertions(+), 27 deletions(-)
diff --git a/libavcodec/vvc/vvc_filter.c b/libavcodec/vvc/vvc_filter.c
index 11972bde41..ecb
---
libavcodec/vvc/vvc_filter.c | 40 +
1 file changed, 27 insertions(+), 13 deletions(-)
diff --git a/libavcodec/vvc/vvc_filter.c b/libavcodec/vvc/vvc_filter.c
index 1a3cd02a9f..6b4c2050c7 100644
--- a/libavcodec/vvc/vvc_filter.c
+++ b/libavcodec/vvc/vvc_filte
---
libavcodec/vvc/vvc_filter.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/libavcodec/vvc/vvc_filter.c b/libavcodec/vvc/vvc_filter.c
index 6b4c2050c7..de0816619b 100644
--- a/libavcodec/vvc/vvc_filter.c
+++ b/libavcodec/vvc/vvc_filter.c
@@ -1199,6 +1199,7 @@ void ff_vvc_alf_copy_
---
libavcodec/vvc/vvc_mvs.c | 33 +
1 file changed, 21 insertions(+), 12 deletions(-)
diff --git a/libavcodec/vvc/vvc_mvs.c b/libavcodec/vvc/vvc_mvs.c
index cf92202b5b..37a2d0a228 100644
--- a/libavcodec/vvc/vvc_mvs.c
+++ b/libavcodec/vvc/vvc_mvs.c
@@ -200,10 +200
passed files:
LMCS_B_Dolby_2.bit
CodingToolsSets_E_Tencent_1.bit
SUBPIC_A_HUAWEI_3.bit
SUBPIC_B_HUAWEI_3.bit
SUBPIC_C_ERICSSON_1.bit
SUBPIC_D_ERICSSON_1.bit
SUBPIC_E_MediaTek_1.bit
passed dvb conformance files
(https://dvb.org/specifications/verification-validation/vvc
This change also make the lc->sc assigned for run_sao
---
libavcodec/vvc/vvc_thread.c | 66 ++---
1 file changed, 17 insertions(+), 49 deletions(-)
diff --git a/libavcodec/vvc/vvc_thread.c b/libavcodec/vvc/vvc_thread.c
index 5d2e8c67b9..8f23b8138b 100644
--- a/liba
---
libavcodec/vvc/vvc_filter.c | 36 ++--
1 file changed, 14 insertions(+), 22 deletions(-)
diff --git a/libavcodec/vvc/vvc_filter.c b/libavcodec/vvc/vvc_filter.c
index ecb004d245..1a3cd02a9f 100644
--- a/libavcodec/vvc/vvc_filter.c
+++ b/libavcodec/vvc/vvc_filter
On 27/03/2024 13:53, Anton Khirnov wrote:
Quoting Tobias Rapp (2024-03-27 13:46:40)
On 27/03/2024 13:06, Stefano Sabatini wrote:
On date Wednesday 2024-03-27 11:51:31 +0100, Tobias Rapp wrote:
Depending on the filters used the filtergraph can produce trailing data
after feeding it the last i
Changes since v1:
- Rebased onto master
I was unable to credit the original reporter with a Reported-by because
the name used Chinese characters (and it translated to 'admin').
Leo Izen (1):
avcodec,avformat/ffjni: fix duplicate JNI symbols
libavcodec/Makefile | 1 +
libavformat/Makefile |
Use SHLIBOBJS and STLIBOBJS in the Makefiles for avcodec and avformat,
and add a stub ffjni.c to libavformat, which allows the symbols to be
duplicated for shared builds but not static builds.
Signed-off-by: Leo Izen
---
libavcodec/Makefile | 1 +
libavformat/Makefile | 1 +
libavformat/ffjni
Hi
some options not documented in doc/*
(this list is not complete)
libavcodec/options_table.h:{"copy_opaque", "propagate opaque values", 0,
AV_OPT_TYPE_CONST, {.i64 = AV_CODEC_FLAG_COPY_OPAQUE}, .unit = "flags"},
libavcodec/options_table.h:{"ticks_per_frame", NULL, OFFSET(ticks_per_frame),
AV_
On Fri, Feb 09, 2024 at 03:19:58PM +, Anton Khirnov wrote:
> ffmpeg | branch: master | Anton Khirnov | Thu Feb 1
> 08:57:24 2024 +0100| [ca18bb597223b3df5bbf8a1836d157ba58b62570] | committer:
> Anton Khirnov
>
> lavf/demux: stop calling avcodec_close()
>
> Replace it with recreating the c
On Wed, 27 Mar 2024 at 14:03, Michael Niedermayer
wrote:
> On Fri, Feb 09, 2024 at 03:19:58PM +, Anton Khirnov wrote:
> > ffmpeg | branch: master | Anton Khirnov | Thu Feb
> 1 08:57:24 2024 +0100| [ca18bb597223b3df5bbf8a1836d157ba58b62570] |
> committer: Anton Khirnov
> >
> > lavf/demux: sto
On Mon, Mar 25, 2024 at 4:10 PM Niklas Haas wrote:
> From: Niklas Haas
>
> Doing this with REDUCE_FORMATS() instead of swap_color_*() is not only
> shorter, but more importantly comes with the benefit of being done
> inside a loop, allowing us to correctly propagate complex graphs
> involving mu
On 3/27/2024 11:13 AM, Kieran Kunhya wrote:
On Wed, 27 Mar 2024 at 14:03, Michael Niedermayer
wrote:
On Fri, Feb 09, 2024 at 03:19:58PM +, Anton Khirnov wrote:
ffmpeg | branch: master | Anton Khirnov | Thu Feb
1 08:57:24 2024 +0100| [ca18bb597223b3df5bbf8a1836d157ba58b62570] |
committer
On Tue, Dec 12, 2023 at 07:41:18AM +, Anton Khirnov wrote:
> ffmpeg | branch: master | Anton Khirnov | Tue Jul 18
> 16:37:52 2023 +0200| [d119ae2fd82a494d9430ff4d4fc262961a68c598] | committer:
> Anton Khirnov
>
> fftools/ffmpeg: convert to a threaded architecture
>
> Change the main loop a
Actual frame durations are, in general, not computable without buffering
a frame.
---
libavfilter/setpts.c | 1 +
tests/ref/fate/filter-setpts | 100 +--
2 files changed, 51 insertions(+), 50 deletions(-)
diff --git a/libavfilter/setpts.c b/libavfilter/se
This filter produces VFR output in general.
Avoids dropping frames in the setpts test.
---
libavfilter/setpts.c | 17 ++-
tests/ref/fate/filter-setpts | 89 +---
2 files changed, 67 insertions(+), 39 deletions(-)
diff --git a/libavfilter/setpts.c b/lib
Le keskiviikkona 27. maaliskuuta 2024, 10.53.25 EET Ignjatović, Lazar (RS) a
écrit :
> This message has been marked as Public on 03/27/2024 08:53Z.
>
> On Tuesday, March 26, 2024 7:26 PM Rémi Denis-Courmont wrote:
> > Both patches -1 for same reasons as before and that's unnecessary,
> > function
Le perjantaina 22. maaliskuuta 2024, 8.01.21 EET flow gg a écrit :
>
IMO, you could just as well share the code and avoid most if's. Not like one
additional `li a3, 1` per function call is going to matter in the grand scheme
of things. It might even help by reducing I-cache pressure.
--
雷米‧德尼
avformat: enable UDP IPv6 multicast interface selection using zone index
Enabled IPv6 interface selection using zone index. Properly resolved
interface index in places where default 0 interface index is used
(marked with TODO: within udp.c). Adjusted binding for multicast sockets
that are used for
Le perjantaina 22. maaliskuuta 2024, 8.02.08 EET flow gg a écrit :
> Using macros to shorten function definitions, updated in this response
Did you try to share the common code after getdc and see how slower it is? If
an extra static branch has negligible overhead, it would reduce binary size
qu
Andreas Rheinhardt:
> Do not return the return value of the last enc_send_to_dst()
> call, as this would treat the last call differently from the
> earlier calls; furthermore, sch_enc_send() explicitly documents
> to always return 0 on success.
>
> Signed-off-by: Andreas Rheinhardt
> ---
> fftoo
Signed-off-by: Andreas Rheinhardt
---
libavutil/tests/.gitignore | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavutil/tests/.gitignore b/libavutil/tests/.gitignore
index 87895912f5..951cafb2d7 100644
--- a/libavutil/tests/.gitignore
+++ b/libavutil/tests/.gitignore
@@ -44,6 +44,7 @@
/ri
do you need to reset/free the encoder in case of failure? If this is
> the case you need to unset/free here or in the close function
Nothing to do with the encoder in case of failure. It just initializes the
given buffer, and returns it.
BTW, the only failure condition is bad parameters, already
>
> Does this function do anything else than frame_us * srate_hz / 1000?
Also check the already validated parameters.
Yes, I can safely replace it with "av_scale()".
It seems that lc3 has a fixed blocksize. If so, you should use
> ff_get_encode_buffer().
Technically the codec allows you to free
Hi,
we found this when testing with rejected RTMP streams.
Best
Armin
0001-avformat-rtmpproto-Fix-segfault.patch
Description: Binary data
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubs
On Tue, Feb 13, 2024 at 03:07:59AM +0100, Michael Niedermayer wrote:
> Signed-off-by: Michael Niedermayer
> ---
> libavfilter/vf_signature.c | 3 +++
> 1 file changed, 3 insertions(+)
will apply
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
The real ebay dic
On Tue, Mar 26, 2024 at 6:36 PM Andreas Rheinhardt
wrote:
>
> Also rewrite the code so that a variable that is only used
> depending upon CONFIG_LIBVPX_VP9_ENCODER is not declared
> outside of the #if block.
> (The variable was declared with av_uninit, but it should have been
> av_unused, as the f
On Tue, Mar 26, 2024 at 6:38 PM Andreas Rheinhardt
wrote:
>
> Forgotten in 753074721bd414874d18c372c491bdc6323fa3bf.
>
> Signed-off-by: Andreas Rheinhardt
> ---
> libavcodec/libvpxenc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
lgtm.
_
On Tue, Dec 12, 2023 at 07:41:18AM +, Anton Khirnov wrote:
> ffmpeg | branch: master | Anton Khirnov | Tue Jul 18
> 16:37:52 2023 +0200| [d119ae2fd82a494d9430ff4d4fc262961a68c598] | committer:
> Anton Khirnov
>
> fftools/ffmpeg: convert to a threaded architecture
>
> Change the main loop a
Besides being redundant, freeing manually is actually harmful here,
as rtmp_close() may call gen_fcunpublish_stream() which dereferences
rt->playpath.
Reported-by: Armin Hasitzka
Signed-off-by: Andreas Rheinhardt
---
libavformat/rtmpproto.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/
Armin Hasitzka via ffmpeg-devel:
> Hi,
>
> we found this when testing with rejected RTMP streams.
>
> Best
> Armin
Thanks for the report and the patch; yet actually freeing them manually
is not only harmful, but also unnecessary, as these strings can be set
via AVOptions; therefore they will be
Ooooh interesting, I see (makes a lot of sense)! I can confirm, btw; your
updated fix (from 324509) works for me (no segfault + clean shutdown)! ...
I will comment on the other thread as soon as the email comes through!
Thanks a lot!
Armin
On Wed, 27 Mar 2024 at 18:21, Andreas Rheinhardt <
andrea
Signed-off-by: James Almer
---
libavutil/frame.c | 59 +++
libavutil/frame.h | 27 +++---
2 files changed, 74 insertions(+), 12 deletions(-)
diff --git a/libavutil/frame.c b/libavutil/frame.c
index ef1613c344..2e40018b83 100644
--- a/li
Signed-off-by: James Almer
---
libavutil/frame.c | 53 +++
libavutil/frame.h | 34 ++
2 files changed, 87 insertions(+)
diff --git a/libavutil/frame.c b/libavutil/frame.c
index 2e40018b83..08b6475cc2 100644
--- a/libavutil/f
Signed-off-by: James Almer
---
Same as the wrongly named 02/10 i sent earlier.
libavutil/frame.c | 53 +++
libavutil/frame.h | 34 ++
2 files changed, 87 insertions(+)
diff --git a/libavutil/frame.c b/libavutil/frame.c
inde
Bump on this patch -- it still applies cleanly. We're still seeing files in
the wild like this.
- dale
On Mon, Apr 10, 2023 at 10:54 AM Dale Curtis
wrote:
> Will left Google, but I've updated the patch to only skip errors when the
> type is unrecognized.
>
> On Wed, Sep 28, 2022 at 7:17 AM Anto
On Fri, Jul 08, 2022 at 01:06:34PM +, James Almer wrote:
> ffmpeg | branch: master | James Almer | Tue Jul 5
> 12:49:29 2022 -0300| [f9785a78da117be0c66f6d5d58ce7277c7029ae7] | committer:
> James Almer
>
> avcodec/aacdec: fix parsing of dual mono files
>
> Dual mono files report a channel
On Tue, Mar 19, 2024 at 07:54:20PM +, Marton Balint wrote:
> ffmpeg | branch: master | Marton Balint | Mon Mar 18
> 21:07:20 2024 +0100| [7251f909721a570726775acf61b2b9c28a950c76] | committer:
> Marton Balint
>
> fftools/ffplay: use correct buffersink channel layout parameters
>
> Regressi
On Wed, 27 Mar 2024, Michael Niedermayer wrote:
On Tue, Mar 19, 2024 at 07:54:20PM +, Marton Balint wrote:
ffmpeg | branch: master | Marton Balint | Mon Mar 18 21:07:20
2024 +0100| [7251f909721a570726775acf61b2b9c28a950c76] | committer: Marton Balint
fftools/ffplay: use correct buffer
On Wed, Mar 27, 2024 at 10:42:31AM +0100, Anton Khirnov wrote:
> Quoting Michael Niedermayer (2024-03-26 01:11:48)
> > Fixes:
> > 62276/clusterfuzz-testcase-minimized-ffmpeg_dem_W64_fuzzer-4704044498944000
> > Fixes: signed integer overflow: 520464 * 8224 cannot be represented in type
> > 'int'
>
On Fri, Mar 22, 2024 at 11:29:31AM +0100, Anton Khirnov wrote:
> Quoting Michael Niedermayer (2024-03-22 03:25:25)
[...]
> > alternative is "wont fix" for all such cases,
>
> IMO it's not, in general, a bug, so EWONTFIX is the appropriate
> response. If the user does not want us to do arbitrarily
Signed-off-by: Antoine Soulier
---
configure | 6 ++
1 file changed, 6 insertions(+)
diff --git a/configure b/configure
index 2a1d22310b..4262b96117 100755
--- a/configure
+++ b/configure
@@ -244,6 +244,7 @@ External library support:
--enable-libjxl enable JPEG XL de/encoding via
The LC3 audio codec is the default codec of Bluetooth LE audio.
This is a wrapper over the liblc3 library (https://github.com/google/liblc3).
Signed-off-by: Antoine Soulier
---
doc/encoders.texi | 57
doc/general_contents.texi | 11 ++-
libavcodec/Makefile | 2 +
l
A file format is described in Bluetooth SIG LC3 and ETSI TS 103 634, for
test purpose. This is the format implemented here.
Signed-off-by: Antoine Soulier
---
doc/muxers.texi | 6 ++
libavformat/Makefile | 2 +
libavformat/allformats.c | 2 +
libavformat/lc3dec.c | 135 +++
Signed-off-by: Antoine Soulier
---
Changelog | 1 +
1 file changed, 1 insertion(+)
diff --git a/Changelog b/Changelog
index 934241a965..2282f8ca76 100644
--- a/Changelog
+++ b/Changelog
@@ -37,6 +37,7 @@ version :
- Support PacketTypeMetadata of PacketType in enhanced flv format
- ffplay with
According to Paul's private remarks I made this last patch. I would greatly
appreciate it if anyone could take the time to review these changes.
From 9d9ebcde761ce83c82c40f7537e7644f0c8d753b Mon Sep 17 00:00:00 2001
From: yigithanyigit
Date: Tue, 12 Mar 2024 01:27:59 +0300
Subject: [PATCH] avfilte
On Wed, Mar 27, 2024 at 09:52:54PM +0100, Marton Balint wrote:
>
>
> On Wed, 27 Mar 2024, Michael Niedermayer wrote:
>
> > On Tue, Mar 19, 2024 at 07:54:20PM +, Marton Balint wrote:
> > > ffmpeg | branch: master | Marton Balint | Mon Mar 18
> > > 21:07:20 2024 +0100| [7251f909721a570726775
On Wed, Mar 27, 2024 at 08:39:17AM +0100, Anton Khirnov wrote:
> Quoting Michael Niedermayer (2024-03-23 00:08:16)
> > Fixes: Timeout
> > Fixes:
> > 67044/clusterfuzz-testcase-minimized-ffmpeg_dem_CAF_fuzzer-5791144363491328
> >
> > Found-by: continuous fuzzing process
> > https://github.com/goo
On 3/27/2024 1:37 PM, Andreas Rheinhardt wrote:
Signed-off-by: Andreas Rheinhardt
---
libavutil/tests/.gitignore | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavutil/tests/.gitignore b/libavutil/tests/.gitignore
index 87895912f5..951cafb2d7 100644
--- a/libavutil/tests/.gitignore
+++
From: Eugene Zemtsov
Signed-off-by: Eugene Zemtsov
---
libavformat/mov.c | 15 ++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/libavformat/mov.c b/libavformat/mov.c
index c55778f3ef..662301bf67 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -839,6 +839,7
1 - 100 of 133 matches
Mail list logo