[FFmpeg-devel] [PATCH v3 1/2] lavc/vvc: Fix slice map construction for small subpics

2025-02-21 Thread Nuo Mi
From: Frank Plowman In the case pps_subpic_less_than_one_tile_slice is called, the subpicture is smaller than the tile and so there are multiple subpictures in the tile. Of course, then, not all the subpictures can start in the top-left corner as the code before the patch does. Patch fixes this

[FFmpeg-devel] [PATCH] avcodec/libsvtav1: unbreak build with latest svtav1

2025-02-21 Thread Gyan Doshi
SVT-AV1 made a change in their public API in 988e930c but without a version bump or any other accessible marker, thus breaking ffmpeg build with current versions of SVT-AV1. They have finally bumped versions a month later, so check added. --- libavcodec/libsvtav1.c | 4 1 file changed, 4 ins

Re: [FFmpeg-devel] [PATCH] lavc/vvc: Fix derivation of inverse LMCS idx

2025-02-21 Thread Nuo Mi
On Thu, Feb 20, 2025 at 4:33 AM Frank Plowman wrote: > Ping > Sorry for missing this. Thank you for the patch, applied > > On 02/02/2025 12:10, Frank Plowman wrote: > > The clamping of idxYInv from H.266(V3) section 8.8.2.3 was missing. > > This could lead to OOB reads from lmcs->pivot or input_

Re: [FFmpeg-devel] [PATCH 2/2] lavc/vvcdec: export stream level VUI information

2025-02-21 Thread Nuo Mi
On Wed, Feb 19, 2025 at 5:38 AM Barry Warburton wrote: > LGTM. > Thank you, Barry, Applied. > > On 03/02/2025 09:17, Nuo Mi wrote: > > Previously, VUI information was not exposed. > > If the container lacks HDR metadata, HDR videos appear washed out > > > > Command: mp4box -add hdr.mp4#video:col

Re: [FFmpeg-devel] [PATCH] libavcodec/cuviddec.c: increase CUVID_DEFAULT_NUM_SURFACES

2025-02-21 Thread Scott Theisen
On 2/21/25 08:26, Timo Rothenpieler wrote: On 20.02.2025 21:37, Scott Theisen wrote: The default value of CuvidContext::nb_surfaces was reduced from 25 to 5 (as (CUVID_MAX_DISPLAY_DELAY + 1)) in 402d98c9d467dff6931d906ebb732b9a00334e0b. In cuvid_is_buffer_full() delay can be 2 * CUVID_MAX_DIS

Re: [FFmpeg-devel] [PATCH 07/12] fftools/ffmpeg_enc: forward frame alpha mode to encoder

2025-02-21 Thread myp...@gmail.com
On Thu, Feb 20, 2025 at 4:56 AM Niklas Haas wrote: > > From: Niklas Haas > > --- > fftools/ffmpeg_enc.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/fftools/ffmpeg_enc.c b/fftools/ffmpeg_enc.c > index a46af4dce1..18a0733773 100644 > --- a/fftools/ffmpeg_enc.c > +++ b/fftools/ffmpeg_e

Re: [FFmpeg-devel] I've written a filter in Rust

2025-02-21 Thread Lynne
On 20/02/2025 14:06, Leandro Santiago wrote: [insert meme here] (this will be a long e-mail) Dear FFmpeg devs, in the past days I've been experimenting hacking FFmpeg using Rust. As I am becoming more familiar with the libavfilter, and it is not a dependency for any other of the libav* libs,

Re: [FFmpeg-devel] I've written a filter in Rust

2025-02-21 Thread Soft Works
From: Kieran Kunhya Sent: Freitag, 21. Februar 2025 20:27 To: Soft Works Cc: FFmpeg development discussions and patches Subject: Re: [FFmpeg-devel] I've written a filter in Rust On Fri, 21 Feb 2025, 15:02 Soft Works, mailto:softwo...@hotmail.com>> wrote: > -Original Message- > Fro

Re: [FFmpeg-devel] I've written a filter in Rust

2025-02-21 Thread Kieran Kunhya via ffmpeg-devel
On Fri, 21 Feb 2025, 15:02 Soft Works, wrote: > > > > -Original Message- > > From: ffmpeg-devel On Behalf Of > > Kieran Kunhya via ffmpeg-devel > > Sent: Freitag, 21. Februar 2025 15:53 > > To: FFmpeg development discussions and patches > de...@ffmpeg.org> > > Cc: Kieran Kunhya > > Sub

Re: [FFmpeg-devel] I've written a filter in Rust

2025-02-21 Thread Tomas Härdin
fre 2025-02-21 klockan 14:18 +0100 skrev Lynne: > On 20/02/2025 14:06, Leandro Santiago wrote: > > > - 1: I managed to reuse lots of high quality code, available on > > crates (the repository of Rust packages), preventing me of needing > > to write hairy math heavy code. I personally suck in maths

[FFmpeg-devel] How to handle AAC encoding [aac @ 0x7ff118b69c80] Input contains (near) NaN/+-Inf

2025-02-21 Thread akallabeth+ffmpeg
Hi, trying to make heads and tails from the issue in the subject. I try to use the AAC encoder and just feed new samples, but sometimes avcodec_send_frame returns -22 and a debug log [aac @ 0x7ff118b69c80] Input contains (near) NaN/+-Inf is emitted. did have a look at the source in libavcode

Re: [FFmpeg-devel] [PATCH] avformat/mov: (v4) fix get_eia608_packet

2025-02-21 Thread Pavel Koshevoy
If there are no further constructive review comments today and tomorrow then I will commit and push this change on Sunday (if I don't forget). Pavel. On Thu, Feb 13, 2025 at 2:22 PM Pavel Koshevoy wrote: > The problem is reproducible with "Test for Quicktime 608 CC file.mov" > from https://samp

Re: [FFmpeg-devel] I've written a filter in Rust

2025-02-21 Thread Stephen Hutchinson
On 2/21/25 9:53 AM, Kieran Kunhya via ffmpeg-devel wrote: On Fri, 21 Feb 2025, 14:30 Soft Works, wrote: -Original Message- From: ffmpeg-devel On Behalf Of Michael Niedermayer Sent: Freitag, 21. Februar 2025 14:22 To: FFmpeg development discussions and patches Subject: Re: [FFmpeg-

Re: [FFmpeg-devel] [PATCH v6 7/9] tests: Add chained ogg/flac stream dump test.

2025-02-21 Thread Romain Beauxis
Le ven. 21 févr. 2025 à 05:01, Michael Niedermayer a écrit : > > On Tue, Feb 18, 2025 at 11:24:43PM -0600, Romain Beauxis wrote: > > Before: > > Stream ID: 0, codec name: flac, metadata: encoder=Lavc61.19.100 > > flac:title=First Stream > > Stream ID: 0, packet PTS: 0, packet DTS: 0, metadata: en

Re: [FFmpeg-devel] [PATCH v6 0/9] Properly decode ogg metadata in ogg/{vorbis, flac, opus} chained bitstreams

2025-02-21 Thread Romain Beauxis
Hi again, I've updated the PR here with a description of the most recent changes and the fixed rebase commit: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/6 Hopefully that helps make things more clear! -- Romain Le mer. 19 févr. 2025 à 12:57, Romain Beauxis a écrit : > > Le mer. 19 févr. 2025 à

[FFmpeg-devel] [PATCH v2 2/2] avformat/webvttdec: Add webvtt extension and MIME type

2025-02-21 Thread softworkz
From: softworkz The webvtt extension is sometimes used in HLS playlists. Signed-off-by: softworkz --- libavformat/webvttdec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/webvttdec.c b/libavformat/webvttdec.c index 6e60348764..6feda1585e 100644 --- a/libavf

[FFmpeg-devel] [PATCH v2 1/2] avformat/hls demuxer: Add WebVTT subtitle support

2025-02-21 Thread softworkz
From: softworkz This add support for WebVTT subtitles in HLS streams. Just like for separate audio streams, it supports all available WebVTT streams in all renditions. No new options are added, it just works and provides subtitles streams like any other demuxer. The code prevents downloading subt

[FFmpeg-devel] [PATCH v2 0/2] avformat/hls demuxer: Add WebVTT subtitle support

2025-02-21 Thread ffmpegagent
This add support for WebVTT subtitles in HLS streams. similar like for separate audio streams, it supports all available WebVTT streams in all renditions. No new options are added, it just works and provides subtitles streams like other demuxers. The code prevents downloading subtitle segments whi

Re: [FFmpeg-devel] I've written a filter in Rust

2025-02-21 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Kieran Kunhya via ffmpeg-devel > Sent: Freitag, 21. Februar 2025 15:53 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Cc: Kieran Kunhya > Subject: Re: [FFmpeg-devel] I've written a filter in Rust > > On Fri

Re: [FFmpeg-devel] I've written a filter in Rust

2025-02-21 Thread Kieran Kunhya via ffmpeg-devel
On Fri, 21 Feb 2025, 14:30 Soft Works, wrote: > > > > -Original Message- > > From: ffmpeg-devel On Behalf Of > > Michael Niedermayer > > Sent: Freitag, 21. Februar 2025 14:22 > > To: FFmpeg development discussions and patches > de...@ffmpeg.org> > > Subject: Re: [FFmpeg-devel] I've writ

Re: [FFmpeg-devel] [PATCH] avcodec/amfenc: DX12 Reference-only feature support

2025-02-21 Thread Araz
> > Benjamin Cheng Jan. 31, 2025, 1:22 a.m. UTC This patch only affects d3d12va, why is the commit message amfenc? > We accept this review comment and update it in this patch: avcodec/d3d12va_decode: enable reference-only decoder mode > You could optimize these barriers since reference-only res

Re: [FFmpeg-devel] I've written a filter in Rust

2025-02-21 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Michael Niedermayer > Sent: Freitag, 21. Februar 2025 14:22 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] I've written a filter in Rust > > Hi > > On Fri, Feb 21, 2025 at 10:01

[FFmpeg-devel] [PATCH] avcodec/d3d12va_decode: enable reference-only decoder mode

2025-02-21 Thread Araz Iusubov
The Reference-Only feature in DirectX 12 is a memory optimization technique designed for video decoding scenarios. This feature requires that reference resources must be allocated with the D3D12_RESOURCE_FLAG_VIDEO_DECODE_REFERENCE_ONLY resource flag. Reference textures must also be separated from

Re: [FFmpeg-devel] I've written a filter in Rust

2025-02-21 Thread Kieran Kunhya via ffmpeg-devel
On Fri, 21 Feb 2025, 13:18 Lynne, wrote: > On 20/02/2025 14:06, Leandro Santiago wrote: > Regardless of the language, I disagree with using crates in the context > of FFmpeg, and any use of cargo. > I have no opinion on rust in FFmpeg but I broadly agree crates and cargo are not suited for FFmpe

Re: [FFmpeg-devel] [PATCH 2/3] fftools/ffmpeg_graphprint: Add options for filtergraph printing

2025-02-21 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Nicolas George > Sent: Freitag, 21. Februar 2025 14:10 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH 2/3] fftools/ffmpeg_graphprint: Add > options for filtergraph printing

Re: [FFmpeg-devel] [PATCH] libavcodec/cuviddec.c: increase CUVID_DEFAULT_NUM_SURFACES

2025-02-21 Thread Timo Rothenpieler
On 20.02.2025 21:37, Scott Theisen wrote: The default value of CuvidContext::nb_surfaces was reduced from 25 to 5 (as (CUVID_MAX_DISPLAY_DELAY + 1)) in 402d98c9d467dff6931d906ebb732b9a00334e0b. In cuvid_is_buffer_full() delay can be 2 * CUVID_MAX_DISPLAY_DELAY with double rate deinterlacing. ct

Re: [FFmpeg-devel] I've written a filter in Rust

2025-02-21 Thread Michael Niedermayer
Hi On Fri, Feb 21, 2025 at 10:01:56AM +0100, Tomas Härdin wrote: > tor 2025-02-20 klockan 23:49 +0100 skrev Michael Niedermayer: > > Hi > > > > On Thu, Feb 20, 2025 at 02:06:47PM +0100, Leandro Santiago wrote: > > > [insert meme here] > > [...] > > > I also recorded a video showing the filter in

Re: [FFmpeg-devel] [PATCH 2/3] fftools/ffmpeg_graphprint: Add options for filtergraph printing

2025-02-21 Thread Nicolas George
softworkz (HE12025-02-19): > From: softworkz > > The key benefits are: > > - Different to other graph printing methods, this is outputting: > - all graphs with runtime state > (including auto-inserted filters) > - each graph with its inputs and outputs > - all filters with their in- an

Re: [FFmpeg-devel] [PATCH 03/11] avutil/frame: add functions to check and ensure a side data entry is writable

2025-02-21 Thread James Almer
On 2/21/2025 8:44 AM, Andreas Rheinhardt wrote: James Almer: Signed-off-by: James Almer --- libavutil/frame.h | 19 +++ libavutil/side_data.c | 25 + 2 files changed, 44 insertions(+) diff --git a/libavutil/frame.h b/libavutil/frame.h index 49260

Re: [FFmpeg-devel] [PATCH] fftools: notify user of flags upon loglevel parse failure

2025-02-21 Thread Gyan Doshi
On 2025-02-21 04:34 pm, Andreas Rheinhardt wrote: Gyan Doshi: On 2025-02-21 02:21 pm, Andreas Rheinhardt wrote: Gyan Doshi: ---   fftools/opt_common.c | 5 +   1 file changed, 5 insertions(+) diff --git a/fftools/opt_common.c b/fftools/opt_common.c index 317e8458c1..2ac3fd4fb3 100644

Re: [FFmpeg-devel] [PATCH 1/2] avformat/hls demuxer: Add WebVTT subtitle support

2025-02-21 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Andreas Rheinhardt > Sent: Freitag, 21. Februar 2025 10:18 > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH 1/2] avformat/hls demuxer: Add WebVTT > subtitle support > > softworkz: > > From: softworkz > > [...]

Re: [FFmpeg-devel] [PATCH 03/11] avutil/frame: add functions to check and ensure a side data entry is writable

2025-02-21 Thread Andreas Rheinhardt
James Almer: > Signed-off-by: James Almer > --- > libavutil/frame.h | 19 +++ > libavutil/side_data.c | 25 + > 2 files changed, 44 insertions(+) > > diff --git a/libavutil/frame.h b/libavutil/frame.h > index 49260ae2dd..a707b35087 100644 > --- a/libav

[FFmpeg-devel] [PATCH v2 3/4] fftools/ffmpeg_graphprint: Add options for filtergraph printing

2025-02-21 Thread softworkz
From: softworkz The key benefits are: - Different to other graph printing methods, this is outputting: - all graphs with runtime state (including auto-inserted filters) - each graph with its inputs and outputs - all filters with their in- and output pads - all connections between all

[FFmpeg-devel] [PATCH v2 0/4] print_graphs: Complete Filtergraph Printing

2025-02-21 Thread ffmpegagent
The key benefits are: * Different to other graph printing methods, this is outputting: * all graphs with runtime state (including auto-inserted filters) * each graph with its inputs and outputs * all filters with their in- and output pads * all connections between all input- and

[FFmpeg-devel] [PATCH v2 2/4] avfilter/avfilter Add avfilter_link_get_hw_frames_ctx()

2025-02-21 Thread softworkz
From: softworkz --- doc/APIchanges | 3 +++ libavfilter/avfilter.c | 9 + libavfilter/avfilter.h | 12 libavfilter/version.h | 2 +- 4 files changed, 25 insertions(+), 1 deletion(-) diff --git a/doc/APIchanges b/doc/APIchanges index ac506f4b56..acdd473a67 100644

[FFmpeg-devel] [PATCH v2 1/4] fftools/ffmpeg_filter: Move some declaration to new header file

2025-02-21 Thread softworkz
From: softworkz to allow print_graph to access the information. Signed-off-by: softworkz --- fftools/ffmpeg_filter.c | 188 +--- fftools/ffmpeg_filter.h | 232 2 files changed, 233 insertions(+), 187 deletions(-) create mode

[FFmpeg-devel] [PATCH v2 4/4] fftools: Enable filtergraph printing and update docs

2025-02-21 Thread softworkz
From: softworkz Enables filtergraph printing and adds the options to the docs Signed-off-by: softworkz --- doc/ffmpeg.texi | 10 ++ fftools/ffmpeg.c| 4 fftools/ffmpeg_filter.c | 5 + 3 files changed, 19 insertions(+) diff --git a/doc/ffmpeg.texi b/doc/ffmpe

Re: [FFmpeg-devel] [PATCH 2/3] fftools/ffmpeg_graphprint: Add options for filtergraph printing

2025-02-21 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Andreas Rheinhardt > Sent: Freitag, 21. Februar 2025 12:11 > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH 2/3] fftools/ffmpeg_graphprint: Add > options for filtergraph printing > > Soft Works: > > > > > >> ---

[FFmpeg-devel] [PATCH] fftools/ffprobe: Switch to AVMutex

2025-02-21 Thread Andreas Rheinhardt
Patch attachedFrom 27090fa53a1adf8ea33fd8b223c352cf367bafe6 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Fri, 21 Feb 2025 11:24:53 +0100 Subject: [PATCH] fftools/ffprobe: Switch to AVMutex This removes several #if checks. While just at it, also use the correct mutex initializer (did th

Re: [FFmpeg-devel] [PATCH 2/3] fftools/ffmpeg_graphprint: Add options for filtergraph printing

2025-02-21 Thread Andreas Rheinhardt
Soft Works: > > >> -Original Message- >> From: ffmpeg-devel On Behalf Of >> Andreas Rheinhardt >> Sent: Freitag, 21. Februar 2025 10:23 >> To: ffmpeg-devel@ffmpeg.org >> Subject: Re: [FFmpeg-devel] [PATCH 2/3] fftools/ffmpeg_graphprint: Add >> options for filtergraph printing >> >> softw

Re: [FFmpeg-devel] [PATCH] fftools: notify user of flags upon loglevel parse failure

2025-02-21 Thread Andreas Rheinhardt
Gyan Doshi: > > > On 2025-02-21 02:21 pm, Andreas Rheinhardt wrote: >> Gyan Doshi: >>> --- >>>   fftools/opt_common.c | 5 + >>>   1 file changed, 5 insertions(+) >>> >>> diff --git a/fftools/opt_common.c b/fftools/opt_common.c >>> index 317e8458c1..2ac3fd4fb3 100644 >>> --- a/fftools/opt_comm

Re: [FFmpeg-devel] [PATCH v6 7/9] tests: Add chained ogg/flac stream dump test.

2025-02-21 Thread Michael Niedermayer
On Tue, Feb 18, 2025 at 11:24:43PM -0600, Romain Beauxis wrote: > Before: > Stream ID: 0, codec name: flac, metadata: encoder=Lavc61.19.100 > flac:title=First Stream > Stream ID: 0, packet PTS: 0, packet DTS: 0, metadata: encoder=Lavc61.19.100 > flac:title=First Stream > Stream ID: 0, frame PTS:

Re: [FFmpeg-devel] [PATCH v4] avformat: add AV1 RTP depacketizer and packetizer

2025-02-21 Thread Chris Hodges
Hi Tristan, On 12/13/24 14:44, Tristan Matthews via ffmpeg-devel wrote: Nice, looking forward to testing the next iteration. Sorry for the long delay, I got sidetracked with other work. On a related note, one feature that only the VP8 depacketizer supports now is signalling via RTCP that i

Re: [FFmpeg-devel] [PATCH] fftools: notify user of flags upon loglevel parse failure

2025-02-21 Thread Gyan Doshi
On 2025-02-21 02:21 pm, Andreas Rheinhardt wrote: Gyan Doshi: --- fftools/opt_common.c | 5 + 1 file changed, 5 insertions(+) diff --git a/fftools/opt_common.c b/fftools/opt_common.c index 317e8458c1..2ac3fd4fb3 100644 --- a/fftools/opt_common.c +++ b/fftools/opt_common.c @@ -1330,6 +

Re: [FFmpeg-devel] [PATCH 2/3] fftools/ffmpeg_graphprint: Add options for filtergraph printing

2025-02-21 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Andreas Rheinhardt > Sent: Freitag, 21. Februar 2025 10:23 > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH 2/3] fftools/ffmpeg_graphprint: Add > options for filtergraph printing > > softworkz: > > From: softwor

Re: [FFmpeg-devel] [PATCH 1/2] avformat/hls demuxer: Add WebVTT subtitle support

2025-02-21 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Andreas Rheinhardt > Sent: Freitag, 21. Februar 2025 10:18 > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH 1/2] avformat/hls demuxer: Add WebVTT > subtitle support > > softworkz: > > From: softworkz > > Hi An

Re: [FFmpeg-devel] [PATCH 2/3] fftools/ffmpeg_graphprint: Add options for filtergraph printing

2025-02-21 Thread Andreas Rheinhardt
softworkz: > From: softworkz > > The key benefits are: > > - Different to other graph printing methods, this is outputting: > - all graphs with runtime state > (including auto-inserted filters) > - each graph with its inputs and outputs > - all filters with their in- and output pads >

Re: [FFmpeg-devel] I've written a filter in Rust

2025-02-21 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Tomas Härdin > Sent: Freitag, 21. Februar 2025 10:02 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] I've written a filter in Rust > > tor 2025-02-20 klockan 23:49 +0100 skrev Mic

Re: [FFmpeg-devel] [PATCH 1/2] avformat/hls demuxer: Add WebVTT subtitle support

2025-02-21 Thread Andreas Rheinhardt
softworkz: > From: softworkz > > This add support for WebVTT subtitles in HLS streams. > Just like for separate audio streams, it supports all available > WebVTT streams in all renditions. > No new options are added, it just works and provides subtitles streams > like any other demuxer. > The cod

Re: [FFmpeg-devel] [PATCH 8/8] Make mime-type award a bonus probe score

2025-02-21 Thread Tomas Härdin
tor 2025-02-20 klockan 22:08 +0100 skrev Michael Niedermayer: > On Thu, Feb 13, 2025 at 10:29:33PM +0100, Tomas Härdin wrote: > > Might be better to leverage afl-fuzz since it is more wily in its > > tricks to provoke different program behavior. Then exit(1) whenever > > the > > test program probes

Re: [FFmpeg-devel] I've written a filter in Rust

2025-02-21 Thread Tomas Härdin
tor 2025-02-20 klockan 23:49 +0100 skrev Michael Niedermayer: > Hi > > On Thu, Feb 20, 2025 at 02:06:47PM +0100, Leandro Santiago wrote: > > [insert meme here] > [...] > > I also recorded a video showing the filter in action [7]. > [... > > [7] https://youtu.be/U_y4-NnaINg > > cool, it doesnt det

Re: [FFmpeg-devel] [PATCH] fftools: notify user of flags upon loglevel parse failure

2025-02-21 Thread Andreas Rheinhardt
Gyan Doshi: > --- > fftools/opt_common.c | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/fftools/opt_common.c b/fftools/opt_common.c > index 317e8458c1..2ac3fd4fb3 100644 > --- a/fftools/opt_common.c > +++ b/fftools/opt_common.c > @@ -1330,6 +1330,11 @@ int opt_loglevel(void *optctx