提交 3948c74f 编写于 作者: M Michael Niedermayer

Remove INFINITY.

Originally committed as revision 12288 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 d8870f12
......@@ -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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册