[FFmpeg-cvslog] intfloat_readwrite: include "mathematics.h" for fallback macros

Mans Rullgard git
Wed Jan 26 04:01:18 CET 2011


ffmpeg | branch: master | Mans Rullgard <mans at mansr.com> | Tue Jan 25 03:33:43 2011 +0000| [4c56b4bc011b5fa597526cef0835bdc2f8cdcf94] | committer: Michael Niedermayer

intfloat_readwrite: include "mathematics.h" for fallback macros

This allows this file to build on systems lacking NAN or INFINITY
in math.h.

Signed-off-by: Mans Rullgard <mans at mansr.com>
(cherry picked from commit e781c4e6ff0b93db1ebc0ebe6983b38490117a98)

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

 libavutil/intfloat_readwrite.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavutil/intfloat_readwrite.c b/libavutil/intfloat_readwrite.c
index d9b3752..f51d8dd 100644
--- a/libavutil/intfloat_readwrite.c
+++ b/libavutil/intfloat_readwrite.c
@@ -26,7 +26,7 @@
  */
 
 #include <stdint.h>
-#include <math.h>
+#include "mathematics.h"
 #include "intfloat_readwrite.h"
 
 double av_int2dbl(int64_t v){




More information about the ffmpeg-cvslog mailing list