1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-10-06 18:15:03 +02:00

Remove INFINITY.

Originally committed as revision 12288 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2008-03-01 23:36:27 +00:00
parent d8870f120e
commit 3948c74f80

View File

@ -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);
}