From 150c9823e71a161e97003849cf8b2f55b21520bd Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Mon, 26 Aug 2013 15:10:18 +0100 Subject: adding ffmpeg specific version --- ffmpeg1/compat/tms470/math.h | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 ffmpeg1/compat/tms470/math.h (limited to 'ffmpeg1/compat/tms470/math.h') diff --git a/ffmpeg1/compat/tms470/math.h b/ffmpeg1/compat/tms470/math.h new file mode 100644 index 0000000..1104d74 --- /dev/null +++ b/ffmpeg1/compat/tms470/math.h @@ -0,0 +1,7 @@ +#include_next + +#undef INFINITY +#undef NAN + +#define INFINITY (*(const float*)((const unsigned []){ 0x7f800000 })) +#define NAN (*(const float*)((const unsigned []){ 0x7fc00000 })) -- cgit v1.2.3