[FFmpeg-devel] [PATCH] use proper macro to avoid issue with prior avutil/timestamp.c

Mike Lieman mikelieman at gmail.com
Sat Aug 17 16:26:40 EEST 2024


>
> FP_INFINITE is a return value from fpclassify(), not a double.
>
> Does maybe using av_int2double(UINT64_C(0xFFF) << 52) help your slow
> startup?
>

Sadly, no.

double log = (fpclassify(val) == FP_ZERO ? av_int2double(UINT64_C(0xFFF) <<
52) : floor(log10(fabs(val))));

gives the same long-startup time.


More information about the ffmpeg-devel mailing list