summaryrefslogtreecommitdiff
path: root/ffmpeg/compat/tms470
diff options
context:
space:
mode:
authorTim Redfern <tim@eclectronics.org>2013-09-05 17:57:22 +0100
committerTim Redfern <tim@eclectronics.org>2013-09-05 17:57:22 +0100
commit8992cb1d0d07edc33d274f6d7924ecdf6f83d994 (patch)
tree3a2c86846b7eec8137c1507e623fc7018f13d453 /ffmpeg/compat/tms470
parent741fb4b9e135cfb161a749db88713229038577bb (diff)
making act segmenter
Diffstat (limited to 'ffmpeg/compat/tms470')
-rw-r--r--ffmpeg/compat/tms470/math.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ffmpeg/compat/tms470/math.h b/ffmpeg/compat/tms470/math.h
new file mode 100644
index 0000000..1104d74
--- /dev/null
+++ b/ffmpeg/compat/tms470/math.h
@@ -0,0 +1,7 @@
+#include_next <math.h>
+
+#undef INFINITY
+#undef NAN
+
+#define INFINITY (*(const float*)((const unsigned []){ 0x7f800000 }))
+#define NAN (*(const float*)((const unsigned []){ 0x7fc00000 }))