aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/svq1.c
diff options
context:
space:
mode:
authorNick Kurshev <nickols_k@mail.ru>2002-07-10 17:39:16 +0000
committerNick Kurshev <nickols_k@mail.ru>2002-07-10 17:39:16 +0000
commit63e0d4ac59363f6328e7c6fe6bd8b78b59d8b9c5 (patch)
tree91e8b8f418e254646ee602c0ac7faaa5ac421af2 /libavcodec/svq1.c
parentcceabc8656118f2a5478a17264df434a63838691 (diff)
downloadffmpeg-63e0d4ac59363f6328e7c6fe6bd8b78b59d8b9c5.tar.gz
Applied patch of Felix Buenemann
Originally committed as revision 736 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/svq1.c')
-rw-r--r--libavcodec/svq1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/svq1.c b/libavcodec/svq1.c
index 8c284ef856..1a3876a53e 100644
--- a/libavcodec/svq1.c
+++ b/libavcodec/svq1.c
@@ -41,7 +41,7 @@ typedef struct vlc_code_s {
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