summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2002-12-05 08:39:37 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-12-05 08:39:37 +0000
commit8aa1e3da036744fdbc7f3d0a8e7db43ecfd7f0f0 (patch)
treee93b42765db624dedad8e8cb6eaeebc05d7d4e6a
parentaa388dba30a468a085056c9bc8a1bd6aa6f821f4 (diff)
infinity fix by ("Steven M. Schultz" <sms at 2BSD dot COM>)
Originally committed as revision 1310 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--ffmpeg.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 04fc9c99fd..57584b9462 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -31,6 +31,9 @@
#include <time.h>
#include <ctype.h>
+#if !defined(INFINITY) && defined(HUGE_VAL)
+#define INFINITY HUGE_VAL
+#endif
#define MAXINT64 INT64_C(0x7fffffffffffffff)