changeset 8371:345a539683da

infinity fix by ("Steven M. Schultz" <sms at 2BSD dot COM>)
author michael
date Thu, 05 Dec 2002 09:13:29 +0000
parents cb1aaa93d9e0
children de9eaae1ca86
files libmpcodecs/ve_lavc.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/ve_lavc.c	Thu Dec 05 06:01:42 2002 +0000
+++ b/libmpcodecs/ve_lavc.c	Thu Dec 05 09:13:29 2002 +0000
@@ -4,6 +4,10 @@
 #include <math.h>
 #include <time.h>
 
+#if !defined(INFINITY) && defined(HUGE_VAL)
+#define INFINITY HUGE_VAL
+#endif
+
 #include "../config.h"
 
 #ifdef USE_LIBAVCODEC