This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
Define INFINITIY and NAN in mathematics.h if missing
Originally committed as revision 19611 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Måns Rullgård
16 years ago
parent
184410e60b
commit
bd41c06f18
1 changed files
with
6 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-0
libavutil/mathematics.h
+ 6
- 0
libavutil/mathematics.h
View File
@@ -41,6 +41,12 @@
#ifndef M_SQRT1_2
#define M_SQRT1_2 0.70710678118654752440 /* 1/sqrt(2) */
#endif
#ifndef NAN
#define NAN (0.0/0.0)
#endif
#ifndef INFINITY
#define INFINITY (1.0/0.0)
#endif
enum AVRounding {
AV_ROUND_ZERO = 0, ///< Round toward zero.
Write
Preview
Loading…
Cancel
Save