changeset 6684:da6af57c48fc

Small fix: Correct mathematical order in MEDIAN macro (gcc 3.1 didn't like it).
author atmos4
date Tue, 09 Jul 2002 20:38:21 +0000
parents 6a2c24ce2d9e
children ca8da0cc0cdf
files libmpcodecs/native/svq1.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/native/svq1.c	Tue Jul 09 19:40:54 2002 +0000
+++ b/libmpcodecs/native/svq1.c	Tue Jul 09 20:38:21 2002 +0000
@@ -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"