summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-03-01 23:36:27 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-03-01 23:36:27 +0000
commit3948c74f8047ea4ecd4575b5d59b90f4bd25b92f (patch)
treef36f3153f6d9b6ac529c7f869aaf745f1ffb7af4 /ffmpeg.c
parentd8870f120ea5f46940bac63a90424ca6a6000ad9 (diff)
Remove INFINITY.
Originally committed as revision 12288 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c5
1 files changed, 0 insertions, 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 <assert.h>
-#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);
}