[SCM] libav/experimental: Remove INFINITY.
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:16:04 UTC 2013
The following commit has been merged in the experimental branch:
commit 3948c74f8047ea4ecd4575b5d59b90f4bd25b92f
Author: Michael Niedermayer <michaelni at gmx.at>
Date: Sat Mar 1 23:36:27 2008 +0000
Remove INFINITY.
Originally committed as revision 12288 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/ffmpeg.c b/ffmpeg.c
index 3fe9992..98f0f82 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);
}
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list