> -Original Message-
> From: Stefano Sabatini
> Sent: Montag, 28. April 2025 23:47
> To: softworkz .
> Cc: FFmpeg development discussions and patches
> Subject: Re: [FFmpeg-devel] [PATCH v7 02/13] fftools/textformat: Apply quality
> improvements
>
> On date
On date Monday 2025-04-28 20:40:37 +, softworkz . wrote:
[...]
> > > > > /* validate replace string */
> > > > > {
> > > > > -const uint8_t *p = tctx->string_validation_replacement;
> > > > > -const uint8_t *endp = p + strlen(p);
> > > > > +const uint8_t *p = (
> -Original Message-
> From: Stefano Sabatini
> Sent: Montag, 28. April 2025 22:24
> To: softworkz .
> Cc: FFmpeg development discussions and patches
> Subject: Re: [FFmpeg-devel] [PATCH v7 02/13] fftools/textformat: Apply quality
> improvements
>
> On d
On date Monday 2025-04-28 20:05:25 +, softworkz . wrote:
>
>
> > -Original Message-
> > From: Stefano Sabatini
> > Sent: Montag, 28. April 2025 21:56
> > To: FFmpeg development discussions and patches
> > Cc: softworkz
> > Subject: R
> -Original Message-
> From: Stefano Sabatini
> Sent: Montag, 28. April 2025 21:56
> To: FFmpeg development discussions and patches
> Cc: softworkz
> Subject: Re: [FFmpeg-devel] [PATCH v7 02/13] fftools/textformat: Apply quality
> improvements
>
> On date
On date Friday 2025-04-25 23:30:57 +, softworkz wrote:
> From: softworkz
>
> Perform multiple improvements to increase code robustness.
> In particular:
> - favor unsigned counters for loops
> - add missing checks
> - avoid possible leaks
> - move variable declarations to inner scopes when fe
From: softworkz
Perform multiple improvements to increase code robustness.
In particular:
- favor unsigned counters for loops
- add missing checks
- avoid possible leaks
- move variable declarations to inner scopes when feasible
- provide explicit type-casting when needed
Signed-off-by: softwork