[FFmpeg-devel] Make libavfilter/vf_drawtext.c build under uclibc environments

Paul B Mahol onemda at gmail.com
Sat Aug 22 22:18:36 CEST 2015


On 8/22/15, Rene Rheaume <rene.rheaume at gmail.com> wrote:
> In function func_eval_expr_int_format inside
> libavfilter/vf_drawtext.c, the functions feclearexcept and
> fetestexcept are used. They are missing on uclibc. On that platform,
> instead of checking if the FPU raised an exception after trying to
> convert a floating-point number to an integer, do the check beforehand
> using isfinite and comparisons against the maximum and minimum value
> of an int32_t.
>
> Signed-off-by: Rene Rheaume <rene.rheaume at gmail.com>
>

This is ugly solution to problem.


More information about the ffmpeg-devel mailing list