Commit c9845538 authored by michael's avatar michael

Remove INFINITY.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@12288 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 5bbb8ff8
......@@ -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);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment