[FFmpeg-devel] [PATCH] Move libm replacements to new header libm.h

Måns Rullgård mans
Tue Mar 9 15:06:09 CET 2010


Michael Kostylev <michael.kostylev at gmail.com> writes:

> On Tue Mar  9 13:12:41 2010
> M?ns Rullg?rd wrote:
>
>>>> ffmpeg.c uses lrintf(), which is missing on some systems.
>>>
>>> On which ones? Djgpp is almost dead, so I'd prefer to fix it locally.
>>> Dietlibc? It is much more incomplete and no one cares.
>> 
>> The DOS builds are failing because of this. We added these hacks to
>> work around deficiencies like this.
>
> I remember.
>
>>  Are you suggesting we drop them?
>
> More precisely, *lrint*(), round*() and truncf().

Do we want to drop support for these systems?  Will they be fixed
upstream?  If the answers to both of those questions are "no", we need
to keep the workarounds.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list