mirror of https://github.com/FFmpeg/FFmpeg.git
The glibc definitions of INFINITY and NAN do not work with the tms470 compiler, nor do our usual fallbacks. Signed-off-by: Mans Rullgard <mans@mansr.com>pull/6/head
parent
5ab432fa35
commit
b6f8d635f2
2 changed files with 8 additions and 0 deletions
@ -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 })) |
Loading…
Reference in new issue