display: Include mathematics.h for fallback definition of NAN
authorMartin Storsjö <martin@martin.st>
Mon, 19 May 2014 14:41:05 +0000 (17:41 +0300)
committerMartin Storsjö <martin@martin.st>
Mon, 19 May 2014 15:34:51 +0000 (18:34 +0300)
This fixes compilation with MSVC.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavutil/display.c

index ae6c1c2..b2b9832 100644 (file)
@@ -23,6 +23,7 @@
 #include <math.h>
 
 #include "display.h"
+#include "mathematics.h"
 
 // fixed point to double
 #define CONV_FP(x) ((double) (x)) / (1 << 16)