1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00
FFmpeg/compat
Anton Khirnov e854b8f9f4 Work around broken floating point limits on some systems.
The values of {FLT,DBL}_{MAX,MIN} macros on some systems (older musl
libc, some BSD flavours) are not exactly representable, i.e.
(double)DBL_MAX == DBL_MAX is false
This violates (at least some interpretations of) the C99 standard and
breaks code (e.g. in vf_fps) like
double f = DBL_MAX;
[...]
if (f == DBL_MAX) { // f has not been changed yet
    [....]
}
2014-03-10 10:27:17 +01:00
..
aix compat: Add missing license boilerplates 2013-07-18 18:12:38 +02:00
float Work around broken floating point limits on some systems. 2014-03-10 10:27:17 +01:00
msvcrt
plan9 build: Plan 9 support 2012-10-23 12:01:18 +01:00
tms470 compat: Add missing license boilerplates 2013-07-18 18:12:38 +02:00
windows build: Import makedef script from c99-to-c89 2013-11-24 19:36:09 +00:00
getopt.c Remove #undefs for formerly forbidden system functions 2013-11-07 00:26:15 +01:00
strtod.c Use the avstring.h locale-independent character type functions 2013-03-07 15:16:36 +02:00
w32pthreads.h Revert "w32pthread: help compiler figure out undeeded code" 2013-08-27 23:12:49 +03:00