changeset 501:b35354bd6b57 libavutil

add FFMIN3
author bcoudurier
date Sat, 26 Apr 2008 12:47:02 +0000
parents 727a509eed9e
children e3d6654d68f0
files common.h
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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)