[FFmpeg-devel] [PATCH v4 3/4] fftools: Provide a an fftools-specific logging callback function

Soft Works softworkz at hotmail.com
Sun Mar 9 20:59:57 EET 2025


> -----Original Message-----
> From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of
> Michael Niedermayer
> Sent: Sonntag, 9. März 2025 18:52
> To: FFmpeg development discussions and patches <ffmpeg-devel at ffmpeg.org>
> Subject: Re: [FFmpeg-devel] [PATCH v4 3/4] fftools: Provide a an
> fftools-specific logging callback function
> 
> On Sat, Mar 08, 2025 at 11:02:43PM +0000, softworkz wrote:
> > From: softworkz <softworkz at hotmail.com>
> >


[...]

> breaks build for ppc
> 
> CC	fftools/fftools_log.o
> src/fftools/fftools_log.c: In function ‘format_date_now’:
> src/fftools/fftools_log.c:349:21: error: storage size of ‘tmbuf’ isn’t
> known
>      struct tm *ptm, tmbuf;
>                      ^~~~~
> src/fftools/fftools_log.c:354:29: error: implicit declaration of
> function ‘localtime_r’ [-Werror=implicit-function-declaration]
>      ptm                   = localtime_r(&time_s, &tmbuf);
>                              ^~~~~~~~~~~
> src/fftools/fftools_log.c:349:21: warning: unused variable ‘tmbuf’ [-
> Wunused-variable]
>      struct tm *ptm, tmbuf;
>                      ^~~~~
> At top level:
> src/fftools/fftools_log.c:58:12: warning: ‘nb_class_ids’ defined but not
> used [-Wunused-variable]
>  static int nb_class_ids;
>             ^~~~~~~~~~~~

Thanks Michael, should be fixed in V5.

BTW, is Patchwork broken, it seems it doesn't update anymore?

sw






More information about the ffmpeg-devel mailing list