[MPlayer-cvslog] CVS: main/libvo gtf.c,1.1,1.2
Nicolas Plourde CVS
syncmail at mplayerhq.hu
Tue May 10 02:46:32 CEST 2005
CVS change done by Nicolas Plourde CVS
Update of /cvsroot/mplayer/main/libvo
In directory mail:/var2/tmp/cvs-serv19844/libvo
Modified Files:
gtf.c
Log Message:
if define HAVE_ROUND do not define round again. patch by Steven M. Schultz <sms at 2BSD.COM>
Index: gtf.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/gtf.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- gtf.c 22 Aug 2002 23:03:50 -0000 1.1
+++ gtf.c 10 May 2005 00:46:30 -0000 1.2
@@ -9,6 +9,7 @@
*/
//Version 0.4
+#include "config.h"
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
@@ -24,10 +25,12 @@
static GTF_constants GTF_given_constants = { 3.0,550.0,1,8,1.8,8,40,20,128,600 };
+#ifndef HAVE_ROUND
static double round(double v)
{
return floor(v + 0.5);
}
+#endif
static void GetRoundedConstants(GTF_constants *c)
{
More information about the MPlayer-cvslog
mailing list