Define INFINITIY and NAN in mathematics.h if missing
Originally committed as revision 19611 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
184410e60b
commit
bd41c06f18
@ -41,6 +41,12 @@
|
|||||||
#ifndef M_SQRT1_2
|
#ifndef M_SQRT1_2
|
||||||
#define M_SQRT1_2 0.70710678118654752440 /* 1/sqrt(2) */
|
#define M_SQRT1_2 0.70710678118654752440 /* 1/sqrt(2) */
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef NAN
|
||||||
|
#define NAN (0.0/0.0)
|
||||||
|
#endif
|
||||||
|
#ifndef INFINITY
|
||||||
|
#define INFINITY (1.0/0.0)
|
||||||
|
#endif
|
||||||
|
|
||||||
enum AVRounding {
|
enum AVRounding {
|
||||||
AV_ROUND_ZERO = 0, ///< Round toward zero.
|
AV_ROUND_ZERO = 0, ///< Round toward zero.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user