From 3948c74f8047ea4ecd4575b5d59b90f4bd25b92f Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 1 Mar 2008 23:36:27 +0000 Subject: [PATCH] Remove INFINITY. Originally committed as revision 12288 to svn://svn.ffmpeg.org/ffmpeg/trunk --- ffmpeg.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ffmpeg.c b/ffmpeg.c index 3fe9992c6d..98f0f82e0c 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -59,10 +59,6 @@ #undef NDEBUG #include -#if !defined(INFINITY) && defined(HUGE_VAL) -#define INFINITY HUGE_VAL -#endif - #undef exit static const char program_name[] = "FFmpeg"; @@ -876,7 +872,6 @@ static void do_video_out(AVFormatContext *s, } static double psnr(double d){ - if(d==0) return INFINITY; return -10.0*log(d)/log(10.0); }