NAN doesnt exist on FreeBSD patch by (Rémi Guyomarch <rguyom at pobox dot com>)
authorRémi Guyomarch <rguyom@pobox.com>
Sun, 25 Aug 2002 22:54:43 +0000 (22:54 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 25 Aug 2002 22:54:43 +0000 (22:54 +0000)
Originally committed as revision 864 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/eval.c

index 8d06f7f..832af28 100644 (file)
 #include <string.h>
 #include <math.h>
 
+#ifndef NAN
+  #define NAN 0
+#endif
+
 #define STACK_SIZE 100
 
 typedef struct Parser{