[FFmpeg-cvslog] display: Include mathematics.h for fallback definition of NAN

Martin Storsjö git at videolan.org
Mon May 19 19:35:02 CEST 2014


ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Mon May 19 17:41:05 2014 +0300| [82fc9f4b38244236a6ca7f946662ca653044a04c] | committer: Martin Storsjö

display: Include mathematics.h for fallback definition of NAN

This fixes compilation with MSVC.

Signed-off-by: Martin Storsjö <martin at martin.st>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=82fc9f4b38244236a6ca7f946662ca653044a04c
---

 libavutil/display.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavutil/display.c b/libavutil/display.c
index ae6c1c2..b2b9832 100644
--- a/libavutil/display.c
+++ b/libavutil/display.c
@@ -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)



More information about the ffmpeg-cvslog mailing list