aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-01-25 03:33:43 +0000
committerMichael Niedermayer <michaelni@gmx.at>2011-01-26 03:43:31 +0100
commit4c56b4bc011b5fa597526cef0835bdc2f8cdcf94 (patch)
treeca3b9037192b21f2d9b08508995a7813e896daae
parent8fa28af96520735afaddab8359ae1b12a7f4d74f (diff)
downloadffmpeg-4c56b4bc011b5fa597526cef0835bdc2f8cdcf94.tar.gz
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@mansr.com> (cherry picked from commit e781c4e6ff0b93db1ebc0ebe6983b38490117a98)
-rw-r--r--libavutil/intfloat_readwrite.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/intfloat_readwrite.c b/libavutil/intfloat_readwrite.c
index d9b3752bb1..f51d8ddd4f 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){