changeset 530:509146e1ff1d libavcodec

Applied patch of Felix Buenemann
author nickols_k
date Wed, 10 Jul 2002 17:39:16 +0000
parents f1f4d3d755f8
children f5d7fcc81787
files svq1.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/svq1.c	Wed Jul 10 17:32:59 2002 +0000
+++ b/svq1.c	Wed Jul 10 17:39:16 2002 +0000
@@ -41,7 +41,7 @@
 		 length	:6;
 } vlc_code_t;
 
-#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))
 
 #define SVQ1_BLOCK_SKIP		0
 #define SVQ1_BLOCK_INTER	1