[Mplayer-cvslog] CVS: main/libmpcodecs/native svq1.c,1.3,1.4

Atmosfear atmos4 at mplayerhq.hu
Tue Jul 9 22:38:24 CEST 2002


Update of /cvsroot/mplayer/main/libmpcodecs/native
In directory mail:/var/tmp.root/cvs-serv3162/libmpcodecs/native

Modified Files:
	svq1.c 
Log Message:
Small fix: Correct mathematical order in MEDIAN macro (gcc 3.1 didn't like it).


Index: svq1.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/native/svq1.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- svq1.c	23 Jun 2002 00:50:27 -0000	1.3
+++ svq1.c	9 Jul 2002 20:38:21 -0000	1.4
@@ -38,7 +38,7 @@
 
 //char temp_buf[VIDEOBUFSIZE];
 
-#define MEDIAN(a,b,c)	((a < b != b >= c) ? b : ((a < c != c > b) ? c : a))
+#define MEDIAN(a,b,c)	(((a < b) != (b >= c)) ? b : (((a < c) != (c > b)) ? c : a))
 
 #include "svq1.h"
 #include "svq1_cb.h"




More information about the MPlayer-cvslog mailing list