diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-03-01 23:36:27 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-03-01 23:36:27 +0000 |
commit | 3948c74f8047ea4ecd4575b5d59b90f4bd25b92f (patch) | |
tree | f36f3153f6d9b6ac529c7f869aaf745f1ffb7af4 /ffmpeg.c | |
parent | d8870f120ea5f46940bac63a90424ca6a6000ad9 (diff) | |
download | ffmpeg-3948c74f8047ea4ecd4575b5d59b90f4bd25b92f.tar.gz |
Remove INFINITY.
Originally committed as revision 12288 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -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); } |