[FFmpeg-devel] Make libavfilter/vf_drawtext.c build under uclibc environments
rene.rheaume at gmail.com
Sat Aug 22 15:15:43 CEST 2015
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: René Rhéaume <rene.rheaume at gmail.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 923 bytes
Desc: not available
More information about the ffmpeg-devel