mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-07 11:13:41 +02:00
b6f8d635f2
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>
8 lines
192 B
C
8 lines
192 B
C
#include_next <math.h>
|
|
|
|
#undef INFINITY
|
|
#undef NAN
|
|
|
|
#define INFINITY (*(const float*)((const unsigned []){ 0x7f800000 }))
|
|
#define NAN (*(const float*)((const unsigned []){ 0x7fc00000 }))
|