diff common.h @ 501:b35354bd6b57 libavutil

add FFMIN3
author bcoudurier
date Sat, 26 Apr 2008 12:47:02 +0000
parents 2ae1cc70b1c4
children 8c5bd100bb30
line wrap: on
line diff
--- a/common.h	Thu Apr 24 10:17:55 2008 +0000
+++ b/common.h	Sat Apr 26 12:47:02 2008 +0000
@@ -113,6 +113,7 @@
 #define FFMAX(a,b) ((a) > (b) ? (a) : (b))
 #define FFMAX3(a,b,c) FFMAX(FFMAX(a,b),c)
 #define FFMIN(a,b) ((a) > (b) ? (b) : (a))
+#define FFMIN3(a,b,c) FFMIN(FFMIN(a,b),c)
 
 #define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0)